RFC: Query Suggestions #740
Replies: 3 comments 6 replies
-
I have been waiting for this for so long. This would be great! btw form says:
|
Beta Was this translation helpful? Give feedback.
-
This sounds great! But is this also going to be available for self-hosted Meilisearch instances? |
Beta Was this translation helpful? Give feedback.
-
Is there currently no way to implement a suggestion using MeiliSearch? Could you please check the following issue? |
Beta Was this translation helpful? Give feedback.
-
🔗 Upvote this feature in our roadmap
Summary
Introduce query suggestion indexes as part of Meilisearch Cloud. A query suggestion index is based on the analytics from one or multiple indexes, referred to as source indexes.
Proposal
In their Meilisearch Cloud dashboard, users can configure a Query Suggestion index and select one or several indexes as sources. The Query Suggestion Index will contain documents mapping to the most popular search queries for the selected indexes.
For each search query in the index, the following data points will be available:
In practice, documents in a Query Suggestion Index will look like this:
Users can use the sorting API to implement ranking by number of searches, click rate, or conversion rate.
Motivation & Drawbacks
This first iteration of the query suggestions API exposes the raw data points from the search analytics. This leaves users flexible in which metric they choose for popularity ranking. However, we understand that this might be limiting for users who need more advanced formulas to compute popularity.
However, this proposal allows us to release a first iteration of query suggestions that can evolve in non-breaking ways.
The evolutions we are currently considering are:
popularity
field based on a custom formulaFront-end implementation
We’re looking to provide a query suggestion API that integrates best with our users' front-end stack. In particular, we're interested in compatibility with InstantSearch and Autocomplete.
Please fill out this 30-second form to let us know what JS library you’re using 🙏
Thanks for reading! Let us know what you think 👇
Beta Was this translation helpful? Give feedback.
All reactions