Return the normalized form of the query in the query
field
#699
xamir82
started this conversation in
Feedback & Feature Proposal
Replies: 2 comments 2 replies
-
Hello @xamir82 This repo (meilisearch) does not take feature requests: we manage them in our public roadmap, or if you want more interaction, in the product repository Thanks for your feedback |
Beta Was this translation helpful? Give feedback.
1 reply
-
Pinging @meilisearch/engine-team to know how doable it is to do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! Currently the
query
field in the Meilisearch search endpoint's response is exactly equal to the query that was sent in the request.It would be useful in some cases to know the normalized form of the query based on which Meilisearch actually did the search. For example, if the query is an Arabic word with diacritics, Meilisearch currently normalizes the query by removing the diacritics, but it still returns the original query in the
query
field.There are scenario where you would want to know the normalized form of the query — e.g. for example if you want to then store the (normalized) query in a
popular_queries
collection that will power an auto-suggestion feature, or if you want to display the normalized form of the query on the UI as the title of your site's the search page, and so on.This could be returned as the existing
query
response field, or a separatenormalizedQuery
field, for instance.Beta Was this translation helpful? Give feedback.
All reactions