[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Re: Using the highlighter from the sandbox with a prefix query.
From: Daniel Naber <daniel.naber () t-online ! de>
Date: 2005-02-17 9:08:48
Message-ID: 200502171008.48160.daniel.naber () t-online ! de
[Download RAW message or body]
On Thursday 17 February 2005 08:37, lucuser4851 wrote:
> We have been using the highlighter from the lucene sandbox, which works
> very nicely most of the time. However when we try and use it with a
> prefix query (which is what you get having parsed a wild-card query), it
> doesn't return any highlighted sections. Has anyone else experienced
> this problem, or found a way around it?
You need to call rewrite() on the query before you pass it to the highlighter.
Regards
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic