Autocomplete with Manticore Search

Query Autocomplete is a ready-to-use feature available out of the box with Manticore Search, providing fast and relevant suggestions to users.*

*Available in preview release

What is Query Autocomplete

Autocomplete suggests possible search queries as users type. It works similarly to how Google predicts your searches as you type in its search box. Manticore Search offers this feature right out of the box, making it easy to integrate.

What is it
When to use

When you need Query Autocomplete

  • Suggest complete search terms
  • Provide relevant suggestions, even for misspelled words
  • Help users find specific products, brands, or categories faster
  • Prevent spelling errors or incomplete queries by suggesting common searches
  • Allow quicker access to documents, tools, or knowledge bases
  • Entering long file paths or directory structures
  • Using lengthy method or variable names
  • Speed up input for API endpoints or URLs

Why Manticore Search is good for Query Autocomplete

  • It comes out of the box; you just install Manticore Search and you’re good to go. Just run CALL AUTOCOMPLETE and enjoy Google’s like query suggestions.
  • Manticore supports keyboard layout detection and provide a way to customize the autocomplete suggestions.
  • There are also various low-level methods that you may use for performing autocomplete. For example, CALL KEYWORDS or CALL QSUGGEST.

How to get started

Install Manticore Search

  1. Follow the installation instructions for your operating system
  2. Alternatively, use Docker: docker pull manticoresearch/manticore:dev

Set up your Manticore Search table

  1. Create a table
  2. Configure full-text fields and attributes
  3. Index your data using the appropriate method (SQL, JSON, CSV, etc.)

Implement autocomplete functionality

  1. Use CALL AUTOCOMPLETE SQL statement / /autocomplete JSON endpoint to get query suggestions
  2. Implement a client-side HTTP request to query Manticore Search
  3. Handle the response and display suggestions to the user

Fine-tune your autocomplete

  1. Pass additional parameters to CALL AUTOCOMPLETE function: expansion_len, fuzziness, append, prepend, layouts, etc.
  2. Use layouts to activate keyboard layout detection
  3. Configure expansion_len to control how many chars added to the query

Enjoy Autocomplete

  1. Enjoy blazing fast autocomplete with Manticore Search search engine
  2. Feel free to create an issue in case of any problems
  3. Also, check out the professional services we provide for you

Manticore Search Logo Pros

  • Built-in, out-of-the-box, easy-to-use method: CALL AUTOCOMPLETE
  • Access to low-level methods like CALL KEYWORDS and CALL QSUGGEST
  • Flexible with configurations: configure prefix, suffix, infix, fuzzy, highlight, etc.
  • Very fast on small datasets
  • Automatic keyboard layout detection and fuzziness
  • Support SQL and JSON interface
  • Manticore Search Logo Cons

  • Can be slow on large datasets and long phrases
  • Sometimes may lead to inaccuracy in query suggestions on long phrases
  • You cannot perform a suggestion with the filters provided
  • Learn more about other use cases

    Do not stop here when learning when you need Query Autocomplete and how Manticore Search can help you. There are many other use cases that you can explore.

    Install Manticore Search to use Autocomplete

    Try Manticore Search for implementing Autocomplete on your website today!

    Install Now

    Install Manticore Search

    Install Manticore Search