"can any one explain" - add the &debugQuery=true option to your request and
Solr will give an explanation, including the parsed query and the Lucene
scoring of documents.
If you think Solr is wrong, show us a sample document that either is
supposed to appear that doesn't, or doesn't appear and should. How are the
results "unexpected"?
Then do simple queries, each using the id value for the unexplained document
and each of the clauses in your expression.
-- Jack Krupansky
-----Original Message-----
From: Alok Bhandari
Sent: Friday, July 27, 2012 1:55 AM
To: solr-user@lucene.apache.org
Subject: Solr edismax NOT operator behavior
Hello,
I am using Edismax parser and query submitted by application is of the
format
price:1000 AND ( NOT ( launch_date:[2007-06-07T00:00:00.000Z TO
2009-04-07T23:59:59.999Z] AND product_type:electronic)).
Solr while executing gives unexpected result. I am suspecting it is because
of the AND ( NOT .... portion of the query .
Please can any one explain me how this structure is handled.
I am using solr 3.6
Any help is appreciated ..
Thanks
Alok
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-edismax-NOT-operator-behavior-tp3997663.html
Sent from the Solr - User mailing list archive at Nabble.com.