You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addition to Zachs comment:
To add tags to the query, parameters must be appended to the GetDidYouMean call.
Like: DidYouMeans = string.IsNullOrEmpty(filterOptions.Q) ? null : result.TotalMatching != 0 ? null : _findClient.Statistics().GetDidYouMean(filterOptions.Q + "&tags=language:en"),
(do not add the tags hardcoded, written like that for clarity)
It would be great to have language awareness in the stats call to Find for DidYouMean functionality.
The request url produced:
http://127.0.0.1:8000/kRwa9aF5uXgqvMPFpDh5LHufInfCuWps/tedd_index74640/_didyoumean?query=cucumber
responds with
however, if tags with language are appended to the url, only the relevant results are returned:
http://127.0.0.1:8000/kRwa9aF5uXgqvMPFpDh5LHufInfCuWps/tedd_index74640/_didyoumean?query=cucumber&tags=language:sv
results with
It would be good for clients to have examples of this.
Related jira: FIND-11732 (internal to Opti)
The text was updated successfully, but these errors were encountered: