lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee Mallabone" <>
Subject advanced hit highlighting
Date Mon, 15 Oct 2001 13:48:51 GMT

I'm trying to get hit highlighting fully working with Lucene. I've got most
of the way there with help from Maik Schreiber's message on the topic
( ), which was
incredibly helpful.

However, this only works for TermQuery, PhraseQuery and BooleanQuerys.

I've tried to implement the same thing for wildcard queries. However, simply
making PrefixQuery.getQuery() into a public method results in a
NullPointerException when I call it on a PrefixQuery output by queryParser.

Am I doing completely the wrong thing, or should this actually work?

Thanks in advance,

Lee Mallabone.

View raw message