Re: SOLR 6: edismax search query with OR operator does not work as expected
Also take a look at: https://issues.apache.org/jira/browse/SOLR-8812 On Fri, Jul 8, 2016 at 7:02 AM, Jamal, Sarfaraz wrote: > This sounds like it might be of help - > > < solrQueryParser defaultOperator="AND"/> > > You can change it from and to or. > > (If I understood you) - > > Sas > > > -Original Message- > From: Aleš Gregor [mailto:alg...@gmail.com] > Sent: Friday, July 8, 2016 9:37 AM > To: solr-user@lucene.apache.org > Subject: SOLR 6: edismax search query with OR operator does not work as > expected > > Hello, > > after migrating my index from Solr 4.3 to Solr 6 I noticed that the OR > logical operator in search query no longer works as expected. > > On Solr 4.3 query - Blue OR Red - brings all documents with Blue or Red or > both tokens found. > On Solr 6 the same query only brings documents with both the tokens, Blue and > Red. > > I see some difference in the debug of the query but I cannot make much sense > out of it. > > Was there any change between Solr 4 and 6 that would cause this? > > Thanks > Ales Gregor
RE: SOLR 6: edismax search query with OR operator does not work as expected
This sounds like it might be of help - < solrQueryParser defaultOperator="AND"/> You can change it from and to or. (If I understood you) - Sas -Original Message- From: Aleš Gregor [mailto:alg...@gmail.com] Sent: Friday, July 8, 2016 9:37 AM To: solr-user@lucene.apache.org Subject: SOLR 6: edismax search query with OR operator does not work as expected Hello, after migrating my index from Solr 4.3 to Solr 6 I noticed that the OR logical operator in search query no longer works as expected. On Solr 4.3 query - Blue OR Red - brings all documents with Blue or Red or both tokens found. On Solr 6 the same query only brings documents with both the tokens, Blue and Red. I see some difference in the debug of the query but I cannot make much sense out of it. Was there any change between Solr 4 and 6 that would cause this? Thanks Ales Gregor
SOLR 6: edismax search query with OR operator does not work as expected
Hello, after migrating my index from Solr 4.3 to Solr 6 I noticed that the OR logical operator in search query no longer works as expected. On Solr 4.3 query - Blue OR Red - brings all documents with Blue or Red or both tokens found. On Solr 6 the same query only brings documents with both the tokens, Blue and Red. I see some difference in the debug of the query but I cannot make much sense out of it. Was there any change between Solr 4 and 6 that would cause this? Thanks Ales Gregor