Falling back to SlowFuzzyQuery

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Falling back to SlowFuzzyQuery

Brian Panulla
I'm working on upgrading our Solr 3 applications to Solr 4. The last piece
of the puzzle involves the change in how fuzzy matching works in the new
version. I have to rework how a key feature of our application is
implemented to get the same behavior with the new FuzzyQuery as it has in
the old version. I'm hoping get the rest of the system upgraded first and
deal with that separately.

I found a previous discussion indicating that SlowFuzzyQuery from the
sandbox package is the older fuzzy matching implementation:

http://mail-archives.apache.org/mod_mbox/lucene-java-user/201308.mbox/%3C03be01ce98f7$da6c0760$8f441620$@thetaphi.de%3E

How does one re-introduce SlowFuzzyQuery to a Solr service? It wasn't
obvious from the standard configuration that you could directly swap the
classes.

Do I need to implement a custom Query Parser or Query Handler? Or is this
something that can be accomplished through configuration?