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: adding an OR to a fq makes some doc that matched not match anymore
Date Tue, 15 May 2012 10:50:29 GMT
> that does not change the results for
> me:
> 
> -suggest?q=suggest_terms:lap*&fq=type:P&fq=((-type:B))&debugQuery=true
> -found 1
> 
> -suggest?q=suggest_terms:lap*&fq=type:P&fq=((-type:B)+OR+name:aa)&debugQuery=true
> -found 0
> 

Negative clause and OR clause does not work like this.
fq=+*:* -type:B name:aa should work. 

Mime
View raw message