Don't forget to uuencode the spaces as "+" or "%20".
Playing around, I noticed that putting parens around the negative term
changed the results:
I'm not sure whether that is a bug or not.
In any case, try:
/suggest?q=suggest_terms:lap*&fq=type:P&fq=((-type:B)+OR+name:aa)
-- Jack Krupansky
-----Original Message-----
From: jmlucjav
Sent: Monday, May 14, 2012 7:22 PM
To: solr-user@lucene.apache.org
Subject: adding an OR to a fq makes some doc that matched not match anymore
Hi,
I am trying to understand this scenario (Solr3.6):
- /suggest?q=suggest_terms:lap*&fq=type:P&fq=(-type:B)
numFound=1
- I add a OR to the second fq. That fq is already fulfilled by the found
doc, so adding a doc will also fulfill right?
/suggest?q=suggest_terms:lap*&fq=type:P&fq=(-type:B OR name:aa)
numFound=0
is there a logical explanation??
thanks
xab
--
View this message in context:
http://lucene.472066.n3.nabble.com/adding-an-OR-to-a-fq-makes-some-doc-that-matched-not-match-anymore-tp3983775.html
Sent from the Solr - User mailing list archive at Nabble.com.