Query Suggestion / Autocomplete #486
Replies: 8 comments 6 replies
-
Hey @imraan-go, Unfortunately, we do not support this feature but you can upvote it or even add it on our public roadmap and our PM @gmourier will take care of prioritizing it. Could you just give more information on your use case, please? |
Beta Was this translation helpful? Give feedback.
-
Hi @Kerollmops, We'd do a +1 here. Our use case is that we are creating mobile-friendly ecommerce user front and wants to show a dropdown autocomplete as they're writing. This would certainly increase conversions. Currently this works on our side with Algolia however it does not seem to be supported in Meilisearch as of today. Is it correct? |
Beta Was this translation helpful? Give feedback.
-
We were also about to implement Meilisearch for an e-commerce project until we realized there is no autocomplete. It's a necessary part of a successful e-commerce UX. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 I've started to think more about the autocomplete feature lately. I identify two interesting capabilities and I would like your confirmation on some points.
For example, for the query suggestion, you could build an intermediate index for which you send documents having this form, depending on what you want to push for your suggestions. {
"query": "summer red dress"
"clicks": 1546
} or {
"query": "summer red dress"
"popularity": 156
} At the time of the search, you send two queries in parallel. One for the index that contains the documents (the classic one) and one for the suggestion index. Then you display, for example, the first 10 results coming from the suggestion index on top. Concerning the search history, you could store in local storage (or elsewhere), the query terms that the user has interacted with afterward (e.g. clicked on a document in the search response for those terms) and display them when the user activates a focus event on the search bar. All this is already possible via workarounds on your side AFAIK. If you have tried this, what are your frustrations with it? If not, why haven't you done it? Am I missing any use cases? |
Beta Was this translation helpful? Give feedback.
-
Hi @gmourier; I would like to implement a similar workflow in our application; but I have a few concerns which I need some guidance on. Let's say we have a {
"id": "<some-guid>", // Basically useless, but unfortunately Meilisearch does not accept documents without IDs.
"query": "macbook pro",
"score": 142,
} Pretty self-explanatory and very similar to what you described; the The main issue I've been facing is this: Whenever a user searches for a certain query, we need to either add a new document to the And if so, then how would you actually go about implementing this? — in terms of calls to the Meilisearch API, what would be the calls, exactly (I don't mean at the time of search, but at the time of creating these I'll appreciate it if you point me in the right direction. |
Beta Was this translation helpful? Give feedback.
-
Hello there 👋 Meilisearch now supports autocompletion via the autocomplete-client library. If you give it a try, I'd love to hear your feedback 😄 |
Beta Was this translation helpful? Give feedback.
-
Is there way to incorporate autocomplete with our own custom UI? |
Beta Was this translation helpful? Give feedback.
-
Hello, and thank you all for your contribution to this discussion. The Meilisearch team has started working on a proposal solution, which we shared in a Request For Comment discussion. Please use this new discussion to give your feedback. Thanks, everyone 🙌 |
Beta Was this translation helpful? Give feedback.
-
Does MeiliSearch support word autocompletion from the documents?
Beta Was this translation helpful? Give feedback.
All reactions