In Solr 4.x, FuzzyQuery has switch to using an integer editing distance,
with a maximum of 2. Your 0.8 may have gotten mapped to a distance of 0, or
maybe 1. Switch to using 1 or 2. This new implementation is much faster
(FST), even if it is somewhat less flexible.
See:
http://lucene.apache.org/core/4_3_0/core/org/apache/lucene/search/FuzzyQuery.html
-- Jack Krupansky
-----Original Message-----
From: vibhoreng04
Sent: Friday, June 21, 2013 10:41 AM
To: solr-user@lucene.apache.org
Subject: RE: Issues in the Fuzzy Query !
Hi ,
Below is what I am passing to solr .Only the fuzzy part is creating the
problem for me-
{!lucene q.op=OR}(TRIGRAM_FIELDNAME1:(FRANK INDIANO))^0.82 OR pkey:"" OR
((FIELDNAME1:FRANK~0.80) AND (FIELDNAME1:INDIANO~0.80))^0.80
Also the field type has whitespace,synonym,lowercase and stopwords in it.
Thanks,
Vibhor
--
View this message in context:
http://lucene.472066.n3.nabble.com/Issues-in-the-Fuzzy-Query-tp4072125p4072151.html
Sent from the Solr - User mailing list archive at Nabble.com.