Otis, stop teasing people! You know as well as I do that 2 is the maximum edit distance for fuzzy query in 4.0.

So,

   Keyword~5

Is treated as:

   Keyword~2

Check with &debug=query to see.

-- Jack Krupansky

-----Original Message----- From: Otis Gospodnetic
Sent: Tuesday, December 25, 2012 1:38 AM
To: solr-user@lucene.apache.org
Subject: Re: solr java API for fuzzy query

Hi Alexey,

You can use the Lucene query syntax with Solr, does that help?
Try Keyword~5 for example.

Otis
--
SOLR Performance Monitoring - http://sematext.com/spm/index.html
Search Analytics - http://sematext.com/search-analytics/index.html



On Tue, Dec 25, 2012 at 12:19 AM, Yakubovich Alexey (Nokia-LC/Chicago) <
alexey.yakubov...@nokia.com> wrote:

Is there any java API available in Solr for fuzzy query, similar to the
Lucene org.apache.lucene.search.FuzzyQuery class?

More general, : is there any general way to define query with Lucene java
API and invoke it thru Solr (kind of Lucene-Solr bridge)?

Thanks
Alexey


________________________________
The information contained in this communication may be CONFIDENTIAL and is
intended only for the use of the recipient(s) named above. If you are not
the intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of its contents, is
strictly prohibited. If you have received this communication in error,
please notify the sender and delete/destroy the original message and any
copy of it from your computer or paper files.


Reply via email to