Hi,
Never done in myself, but from the doc :
>From the query (
https://lucene.apache.org/core/8_6_3/core/org/apache/lucene/search/Query.html),
you can retrieve the Weight (
https://lucene.apache.org/core/8_6_3/core/org/apache/lucene/search/Weight.html),
from which you can access the Matches (
http
Problem: I have indexed the filepath and the content of thousands of
documents and can successfully query the index on the text to return a
collection of filepaths. Now I need to create a collection of the tokens in
the index which matched the query.
I can see that there are solutions to a rela