parsing - Using Lucene Highlighter along with MultiFieldQueryParser -
I am using Lucene Highlighter to highlight those matches that I have found in the Lucene Index. Now, my problem is that if I have to search for several areas of a document, and I need to display matching text, how can I get to that area in which the hit happened?
The code that I am using for Highlighter is basically another function
If I do not know which field has hit, then what fields do I have above Pass the given function to get matching pieces?
div>
Comments
Post a Comment