Query Suggestions with Manticore Search
Query Suggestions is a powerful feature that comes built-in with Manticore Search.*
*Available in preview release
What is Query Suggestions
Query Suggestions provide possible search queries as users type, similar to how Google predicts searches in its search box. Manticore Search offers this feature right out of the box, making it easy to integrate.
When you need Query Suggestions
- Enhancing user search experience
- Helping users discover related content
- Correcting typos in search queries
- Guiding users towards popular or trending searches
- Assisting users in formulating more specific queries
- Improving search relevancy and results
- Analyzing user search patterns and behavior
- Optimizing product discovery for e-commerce
- Enhancing internal site search functionality
Why Manticore Search is good for Query Suggestions
- It’s readily available with Manticore Search; simply install and use the
CALL AUTOCOMPLETE
SQL statement or/autocomplete
JSON endpoint to start generating query suggestions. - Manticore Search offers flexible configuration options to customize suggestions to your needs.
- You can use both high-level methods like
CALL AUTOCOMPLETE
and low-level methods for advanced customization.
How to get started
Install Manticore Search
- Follow the installation instructions for your operating system.
- Alternatively, use Docker:
docker pull manticoresearch/manticore:dev
.
Prepare your Manticore Search table
- Create a table.
- Configure full-text fields and attributes.
- Index your data using the appropriate method (SQL, JSON, CSV, etc.).
Implement Query Suggestions
- Use the
CALL AUTOCOMPLETE
SQL statement or/autocomplete
JSON endpoint to get query suggestions. - Implement a client-side request to query Manticore Search.
- Process the response and present suggestions to the user.
Optimize your Query Suggestions
- Pass additional parameters to the
CALL AUTOCOMPLETE
function, such asexpansion_len
,fuzziness
,append
,prepend
,layouts
, etc. - Use
fuzziness
to control the level of fuzzy matching in suggestions.
Leverage Query Suggestions
- Enjoy powerful and efficient query suggestions with Manticore Search.
- If you encounter any issues, report them on GitHub.
- Consider our professional services for advanced implementation and optimization.
Pros
CALL AUTOCOMPLETE
SQL or /autocomplete
JSON query.Cons
Learn more about other use cases
Do not stop here when learning when you need Query Suggestions and how Manticore Search can help you. There are many other use cases that you can explore.
Get Started with Query Suggestions in Manticore Search
Enhance your search functionality with Query Suggestions today!
Install Now