I'm trying to get the highlighter running, but didn't get it work.

Everywhere it's posted as following:

Highlighter highlighter = new Highlighter(new SimpleHTMLFormatter(), 
new QueryScorer(query));

but that gives me a
"Highlighter is abstract; cannot be instantiated".

I'm using version 2.9 of highliter/2.9 of lucene

Any ideas ? Thanks :-)

Greetings,
Marc




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to