Product Documentation
Product DocumentationDeveloper GuideAPI ReferenceHelp Center
  • About Search.io
  • Fundamentals
    • Search settings
      • Understanding relevance and ranking
      • Textual relevance
      • Ranking adjustments
      • Dynamic boosting
      • Synonyms
      • Redirects
    • Promotion rules
      • Triggers
      • Manual curation
      • Boosting
      • Banners
    • Integrating search
      • Display options
      • Filters and sort options
      • Result templates
      • Search UI integration
    • Roles & permissions
    • Reporting
      • Event tracking
      • Trends
      • Content issues
      • Explore
    • Filter expressions
    • Indexing Data
      • Schema
  • Guides
    • General
      • Previewing results
    • 📄Content websites
      • Crawling a website
      • Adding custom fields
      • Configuring domains
      • Excluding documents
      • Improving content
    • 🛍️E-commerce
      • Define schema and sync data
      • Relevance tuning
      • Creating a user interface
      • Adding a sale banner
  • Integrations
    • Shopify
      • Shopify metafields
    • Webflow
    • Drupal
    • Wordpress
  • Deep dives
    • Concepts and terminology
    • How Search.io works
    • Autocomplete
    • Spelling
  • Helpful Links
    • Developer Documentation
    • API Reference
    • Help Center
Powered by GitBook
On this page

Was this helpful?

  1. Deep dives

Autocomplete

PreviousHow Search.io worksNextSpelling

Last updated 2 years ago

Was this helpful?

Autocomplete allows users to quickly complete search queries by providing suggestions as users type. Once a user starts entering their query, they can see autocomplete suggestions appear below the search box and can easily select them to complete their query.

Autocomplete is especially useful to users who are searching on mobile devices or who need extra assistance when typing such as fixing spelling.

Autocomplete suggestions also enable you to show your users popular or trending searches since query suggestions are returned in order of popularity.

In this section we will explain how autocomplete works out-of-the-box and how you can customize it.

Querying using Autocomplete

Search.io builds a custom autocomplete model from the records in your collection and queries that users type into your search box. As a user types a query, the autocomplete model returns a list of phrases that begin with the text typed by the user. Autocomplete suggestions are returned in order of popularity, from most popular to least popular.

Autocomplete also corrects spelling so suggestions will still be returned if a user types a misspelled word.

A typical search using autocomplete consists of two modes:

  1. Autocomplete mode - Active as a user is typing into the search box. Autocomplete suggestions are returned as the user types. This uses a dedicated to Autocomplete which returns suggestions not search results

  2. Query mode - Active when a user triggers a search by pressing the return key, clicking a suggestion or clicking the search button. A search is performed and results are returned. This uses the standard dedicated to returning search results

See the developer guide for more information on how to .

query pipeline
query pipeline
configure autocomplete