Hi,

I already have done this but still I am not getting any record. But if I
remove the qt=dismaxrequest, then it works fine.



Erik Hatcher wrote:
> 
> With dismax, to get all terms required, set mm (minimum match) to 100%
> 
>       Erik
> 
> On May 11, 2009, at 4:08 AM, dabboo wrote:
> 
>>
>> Sorry to mention in the problem that I am trying to do this with  
>> dismax
>> request. Without dismax request, it is working fine but not with  
>> dismax
>> request.
>>
>>
>> Avlesh Singh wrote:
>>>
>>> Having <solrQueryParser defaultOperator="AND"/> in your schema.xml  
>>> should
>>> address your requirements.
>>>
>>> Cheers
>>> Avlesh
>>>
>>> On Mon, May 11, 2009 at 12:18 PM, dabboo <ag...@sapient.com> wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> Presently "OR" is the default operator for search in Solr. for  
>>>> e.g. If I
>>>> am
>>>> searching for these 2 words with a space: abc xyz then it will  
>>>> return all
>>>> the records which has either abc or xyz or both. It means it is  
>>>> executing
>>>> query like abc or xyz.
>>>>
>>>> But my requirement is that it should return only those records which
>>>> contains abc and xyz both i.e. It should execute the query using AND
>>>> operator as default like abc and xyz.
>>>>
>>>> Please suggest how I can do this.
>>>>
>>>> Thanks,
>>>> Amit Garg
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Default-Query-Operator- 
>>>> tp23477955p23477955.html
>>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Default-Query-Operator-tp23477955p23478820.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Default-Query-Operator-tp23477955p23485608.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to