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: solrQueryParser defaultOperator
Date Sat, 26 Nov 2011 03:31:47 GMT
Please review: http://wiki.apache.org/solr/UsingMailingLists

you're asking us to figure out what you've done. IN particular,
are you using either dismax or edismax? They don't respect
the defaultOperator. Use the mm param to get this kind
of behavior.

Best
Erick

On Thu, Nov 24, 2011 at 6:33 PM, toto <totolapute@yopmail.com> wrote:
> Hi,
> I install Apache solr and integrate it on a drupal website. Everythings
> works perfectly. The default search operator is OR, so I changed it in my
> schema.xml as :
>
> <solrQueryParser defaultOperator="AND"/>
>
> But, it seems no working. For example, when I search : "bakery california",
> solr return all the results contains "bakery" OR "california".
>
> Is there any solution for fix it?
>
> Thanks
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solrQueryParser-defaultOperator-tp3534984p3534984.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
View raw message