lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Edismax and fuzzy querying
Date Thu, 08 Dec 2011 13:06:56 GMT
What about q=my_field1:my_search_string~2 my_search_string
?
True, the clause edismax created would search for your
my_search_string in my_field1 twice, but it might suffice..

Best
Erick

On Wed, Dec 7, 2011 at 3:15 AM, Marc SCHNEIDER
<marc.schneider73@gmail.com> wrote:
> Hello,
>
> I'm using edismax and Solr 4.0 and I'd like to add fuzzy parameters for
> some fields like this :
>
> <str name="qf">my_field1~2 my_field2 my_field3</str>
>
> Unfortunately It doesn't work, so I tried following approaches :
>
> 1) /select?q=my_search_string~2 => of course it applies to *all* fields of
> my edismax query, and I don't want this
> 2) /select?q=my_field1:my_search_string~2 => it overrides my original
> edismax configuration (my_field2 and my_field3 are not considered anymore)
>
> Any idea?
>
> Regards,
> Marc.

Mime
View raw message