Thank you this helped a lot...
Michael Celona
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 11:55 AM
To: Lucene Users List
Subject: Re: Using the highlighter from the sandbox with a prefix query.
On Feb 21, 2005, at 10:53 AM
>One thing to mention
> that I am using a
> MultiSearcher to rewrite the queries. I tried...
Ah. I remember this got a little ugly. The highlighter
has a Junit test that demonstrates highlighting fuzzy
queries when using a multisearcher. Take a look at
that.
I can't remember the ins and outs of t
On Feb 21, 2005, at 10:53 AM, Michael Celona wrote:
That the only stack I get. One thing to mention that I am using a
MultiSearcher to rewrite the queries. I tried...
query = searcher_last.rewrite( query );
query = searcher_cur.rewrite( query );
using IndexSearcher and I don't get an error... Howe
eries.
Michael
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 10:32 AM
To: Lucene Users List
Subject: Re: Using the highlighter from the sandbox with a prefix query.
On Feb 21, 2005, at 10:20 AM, Michael Celona wrote:
> I am using
>
On Feb 21, 2005, at 10:20 AM, Michael Celona wrote:
I am using
query = searcher.rewrite( query );
and it is throwing java.lang.UnsupportedOperationException .
Am I able to use the searcher rewrite method like this?
What's the full stack trace?
Erik
--
4:09 AM
To: Lucene Users List
Subject: Re: Using the highlighter from the sandbox with a prefix query.
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
Thanks very much Marc and Daniel. That solved the problem!!
On Thu, 2005-02-17 at 08:55 +, mark harwood wrote:
> See the highlighter's package.html for a description
> of how query.rewrite should be used to solve this.
>
> Cheers,
> Mark
>
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 hi
See the highlighter's package.html for a description
of how query.rewrite should be used to solve this.
Cheers,
Mark
--- lucuser4851 <[EMAIL PROTECTED]> wrote:
> Dear All,
> We have been using the highlighter from the lucene
> sandbox, which works
> very nicely most of the time. However when