+1, exactly.

-- Jack Krupansky

-----Original Message----- From: Yonik Seeley
Sent: Sunday, November 11, 2012 1:32 PM
To: [email protected]
Subject: Re: FuzzyQuery vs SlowFuzsyQuery docs? -- was: Re: [jira] [Commented] (LUCENE-2667) Fix FuzzyQuery's defaults, so its fast.

On Sun, Nov 11, 2012 at 4:18 PM, Jack Krupansky <[email protected]> wrote:
Okay, so maybe this is simply a case where “an adjustment” was made to
Lucene and Solr did not make a corresponding “adustment” to compensate to
“preserve” functionality. Solr users cannot easily override factory methods,
but of course the Solr query parser can and probably should.

Right - and Solr attempts to preserve external interfaces (HTTP apis
and query languages) even across major versions.
It could be argued that this is a regression - a loss of the ability
to use higher edit distances.
I'd support adding a fallback to SlowFuzzyQuery when the edit distance
turns out to be > 2.  I'd even argue that it should do it by default
to retain the old behavior.  Basically from the user perspective it
would look like edit distances of <= 2 were sped up.

-Yonik
http://lucidworks.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to