Hi Mark, I suspect that issue you are facing is
https://issues.apache.org/jira/browse/SOLR-2649 You can verify this by toggling default operator between 'AND' and 'OR'. --- On Wed, 8/10/11, Mark juszczec <mark.juszc...@gmail.com> wrote: > From: Mark juszczec <mark.juszc...@gmail.com> > Subject: edismax, inconsistencies with implicit/explicit AND when used with > explicit OR > To: solr-user@lucene.apache.org > Date: Wednesday, August 10, 2011, 12:27 AM > Hello all > > We've just switched from the default parser to the edismax > parser and a user > has noticed some inconsistencies when using > implicit/explicit ANDs, ORs and > grouping search terms > in parenthesis. > > First, the default query operator is AND. I switched > it from OR today. > > The query: > > customersJoin/select?indent=on&version=3.3&q=CUSTOMER_NM:*IBM*%20CUSTOMER_NM:*Software*%20OR%20CUSTOMER_NM:*something*&fq=&start=0&rows=10&fl=*%2Cscore&defType=edismax&wt=&explainOther=&hl.fl<http://cn-nyc1-ad-dev1.cnet.com:8983/solr/customersJoin/select?indent=on&version=3.3&q=CUSTOMER_NM:*IBM*%20CUSTOMER_NM:*Software*%20OR%20CUSTOMER_NM:*something*&fq=&start=0&rows=10&fl=*%2Cscore&defType=edismax&wt=&explainOther=&hl.fl> > = > > > returns 1053 results. Some have only IBM in > CUSTOMER_NM, some have only > Software in the name, some have both. > > > However, when I explicitly specify an AND between > CUSTOMER_NM:*IBM* and > CUSTOMER_NM:*Software* : > > > customersJoin/select?indent=on&version=3.3&q=CUSTOMER_NM:*IBM*%20AND%20CUSTOMER_NM:*Software*%20OR%20CUSTOMER_NM:*something*&fq=&start=0&rows=10&fl=*%2Cscore&defType=edismax&wt=&explainOther=&hl.fl= > > I only get 3 results and all of them contain both IBM and > Software. > > I found this reference to inconsistencies with edismax, but > I'm not sure it > explains this situation 100%. > > http://lucene.472066.n3.nabble.com/edismax-inconsistency-AND-OR-td2131795.html > > Have I found a bug or am I doing something terribly wrong? > > Mark >