-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add queryTerms to the search results (#241)
The `queryTerms` field is useful to know which query terms matched in the search result. When performing an exact search, `terms` and `queryTerms` are identical. In case of prefix or fuzzy match though, they can be different. For example, if one searches for "moto" using prefix search, and a result matches with the word "motorcycle", then for that result the `terms` array will include "motorcycle", while the `queryTerms` array will include "moto".
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters