It would help tremendously if you can give a specific code example showing
the problem.
On Thu, Jun 2, 2016 at 6:41 AM Sascha Janz wrote:
>
> we use highlighter to get textfragments for our hit list.
>
> the code is straight forward like this
>
>Analyzer analyzer = new StandardAnalyzer(;
>
we use highlighter to get textfragments for our hit list.
the code is straight forward like this
Analyzer analyzer = new StandardAnalyzer(;
QueryParser parser = new QueryParser( "content", analyzer);
Highlighter highlighter = new Highlighter(new
QueryScorer(parser.parse(pQuery)));