The first thing I'd recommend is to look at the admin/analysis
page. I suspect you aren't seeing fuzzy query results
at all, what you're seeing is the result of stemming.

Stemming is algorithmic, so sometimes produces very
surprising results, i.e. Trinidad and Trinigee may stem
to something like triniti.

But you didn't provide the field definition so it's just a guess.

Best
Erick


On Wed, Aug 28, 2013 at 7:43 AM, Prasi S <prasi1...@gmail.com> wrote:

> Hi,
> with solr 4.0 the fuzzy query syntax is like  <keyword>~1 (or 2)
> Proximity search is like "value"~20.
>
> How does this differentiate between the two searches. My thought was
> promiximity would be on phrases and fuzzy on individual words. Is that
> correct?
>
> I wasnted to do a promiximity search for text field and gave the below
> query,
> <ip>:<port>/collection1/select?q="trinity%20service"~50&debugQuery=yes,
>
> it gives me results as
>
> <result name="response" numFound="111" start="0" maxScore="4.1237307">
> <doc>
> <str name="business_name">*Trinidad *Services</str>
> </doc>
> <doc>
> <str name="business_name">Trinity Services</str>
> </doc>
> <doc>
> <str name="business_name">Trinity Services</str>
> </doc>
> <doc>
> <str name="business_name">*Trinitee *Service</str>
>
> How to differentiate between fuzzy and proximity.
>
>
> Thanks,
> Prasi
>

Reply via email to