How to only show a single search result when the query is an exact match?


We are trying to support our largest group of user types with Algolia. These users are often searching by a model number or item number for one of our products.

Examples of search queries:

  • 16821

  • 19002

All of these numbers match up exactly to a particular product SKU. But when a user searches, they are presented with multiple products, and it’s unclear in the experience which product matches the exact SKU they were searching for.

Is there a way to easily achieve this result without having to create rules for each product?

not 100% of what you wish for … but have you played with the highlighting and most important the custom ranking factors ?