-
Notifications
You must be signed in to change notification settings - Fork 148
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indicating which field was matched on during search #91
Comments
What's your actual use case? |
The document(s) returned are the actual matches |
That's possible with lunr but unfortunately not this elasticlunr (at least I could not find a way to do it). Related: #96 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any way to know which field was matched on to cause a search result to appear? For example, if I had the following document in the index,
and I run
idx.search('some')
, it should match onfield1
. Is there any way to know that it matched onfield1
and notfield2
?The text was updated successfully, but these errors were encountered: