lucene-dev mailing list archives

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

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
(http://www.geocrawler.org/archives/3/2624/2001/9/50/6553088/ ), 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.



Mime
View raw message