While a user is typing, we look at both your product data and popular queries to match against.
To learn about how we determine popular queries to match against, see: How Autocomplete suggestions are created
Order of Suggestions
Must always be a prefix match with words. Example: "dr" can find "dress", but not "eardrops".
- Exact match from either popular queries OR product-data appears first (eg. Exact SKU match)
- Popular Queries
- "Complete the sentence" using difference between user's query and popular query
- Shortest query first
- Product-Data Generated (Name and SKU core fields)
- "Complete the sentence" using difference between user's query and product data
- Shortest query first
Process
- We begin by processing popular search data to create a list of up to the top 5,000 most popular queries we can reference for your site.
- When a user searches, the Suggest API looks at the query and returns suggestions in this order:
- Inferred queries to top of group
- Show shorter similar sibling queries first
- Looks at site products' Names and SKUs to find matches from the user’s query
- Fully typed words (space after) must fully match terms from Name or SKU field (SKU prioritized)
- Partially typed words prefix match terms from Name or SKU field (SKU prioritized)
Inferred Queries (Complete the sentence)
We look at this group of suggestions and see if the user’s query has a prefix match for any words in the current suggestions, and create a new suggestion. This is intended to find a closer representation of a suggestion to what the user is typing - Attempting to complete the currently typed word.
If the user types "blue dress p" and one of the existing suggestions is "blue dress with poka dots", we'll intelligently grab the next word from that phrase that starts with "p" and append it, resulting in "blue dress poka"
Shorter Similar Sibling Queries
If within the popular queries there is a suggestion that is a prefix exact match with one of its neighbors, the shorter one will be swapped above it.
If both "green dress" and "green dress with stripes" are suggestions, we'll show "green dress" first.
Comments
0 comments
Article is closed for comments.