java-user@lucene.apache.org
[Top] [All Lists]

Re: fuzzy phrase query?

Subject: Re: fuzzy phrase query?
From: karl wettin
Date: Thu, 16 Mar 2006 22:03:35 +0100

16 mar 2006 kl. 11.47 skrev Erik Hatcher:

This can be done with some work to implement a SpanFuzzyQuery (similar to the SpanRegexQuery in contrib/regex currently) and using SpanNearQuery instead of a PhraseQuery.

Thanks, I'll check it out.

Performance is at risk doing such a query as all terms in the index need to be enumerated (or a subset if a prefix length is provided), but it can be done.

Speed in not an issue as I'll be using it for subject classification at index time only.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>