lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <>
Subject Re: FuzzyQurey in SpanQuery
Date Thu, 31 Aug 2006 21:17:36 GMT
karl wettin wrote:
> On Thu, 2006-08-31 at 14:27 -0400, Mark Miller wrote:
>> When is a query rewritten? I build my query and then before using it, I 
>> would like to print it out to double check it. Not possible? Does the 
>> rewrite happen inside search?
> Right, you can't do a toString prior to rewriting it. The problem is of
> course that the rewritten query contains lots of possible choises for
> the fuzzy term, extracted from the IndexReader passed when rewriting it.
> If you reallt really want to inspect the rewritten query, create a new
> instance and pass on the IndexReader. This will be slow though. In fact,
> fuzzy span is quite slow by it self.
> By the way, what do you plan to use it for? I use it as a very crued
> text mining classifier, never exposed to the end user.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
I want to use it for my query parser so you can do a fuzzy search inside 
of a proximity search. Is it any slower than a standard fuzzy query?

- Mark

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message