How to use Lucene's Highlighter with phraseQuery ?
I did a google search, and I am getting confused with spanScorer, QueryScorer, and few things like that..
The Lucene version I am using is 3.0.3
My requirements are
- Doing a multi field query
- Doing a wildcard search
- Doing a phrase query
All the above needs to be highlighted.
How do I achieve this ?