lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: dismax request Handler with OR operator
Date Thu, 22 Apr 2010 11:08:09 GMT

> Recently I change my search handler to dismax from
> standard. But I am facing
> problem to get result by OR operator. I am getting AND
> operator result only.
> I think somewhere I am missing configuration.
> following is my configuration :
> 
> schema.xml : ---
> <solrQueryParser defaultOperator="OR"/>


Dismax does not use default operator. You need to set mm[1] value which has a default of 100%
(all clauses must match

[1]http://wiki.apache.org/solr/DisMaxRequestHandler#mm_.28Minimum_.27Should.27_Match.29


      

Mime
View raw message