Hi,
Thanks for your useful comments:
here I could do what I want with the highlighter which work with lucene 3:
QueryScorer scorer = new QueryScorer(query, reader, "contents");
Highlighter highlighter = new Highlighter(scorer);
String fragment = highlighter.getBestFragment(analyzer,
"contents", contents);
I have one question, you mentioned: „You also need contrib-memory-3.0.3.jar
to actually run your program (not for compiling)."
Is this needed only for optimization issue? I searched in the web and I
couldn't rally find this jar. Is it available online?
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/lucene-highlighter-tp3522464p3522652.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]