Re: edismax: implicit AND changes into implicit OR

2013-01-06 Thread Juan Miguel Cejuela
was this finally filled in a jira issue? I'm experiencing the same problem. With default q.op=AND "q:xxx zzz" behaves as expected --> "xxx AND zzz" "q:(xxx AND yyy) zzz" behaves as expected --> "(xxx AND yyy) AND zzz "q:(xxx OR yyy) zzz" changes the default operator to OR like --> "(xxx OR yyy)

Re: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Jack Krupansky
e.apache.org Subject: Re: edismax: implicit AND changes into implicit OR On 12/12/2012 10:27 AM, Burgmans, Tom wrote: I have set in the schema (and restarted Solr), and tested again with http://localhost:8983/solr/collection1/browse?defType=edismax&q=(Thomas+Michael)+OR+xxxmatchesnothingxxx&q.

Re: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Jack Krupansky
Yeah, semi-sort-of a known issue. Basically, the “mm” parameter is ignored below the top-level of the query (i.e., within parentheses, except for some special cases.) Here’s another example where the implicit “AND” operator gets ignored: http://localhost:8983/solr/collection1/browse?defType=edi

RE: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Burgmans, Tom
esent in the query. Even the default operator set to AND seems to be overruled. Thanks, I'll think about submitting a Jira. -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: Wednesday 12 December 2012 06:43 To: solr-user@lucene.apache.org Subject: Re: edismax:

Re: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Shawn Heisey
On 12/12/2012 10:27 AM, Burgmans, Tom wrote: I have set in the schema (and restarted Solr), and tested again with http://localhost:8983/solr/collection1/browse?defType=edismax&q=(Thomas+Michael)+OR+xxxmatchesnothingxxx&q.op=AND note the extra parameter. Still it returns the 7 documents that m

RE: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Burgmans, Tom
y search terms with a +. -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: Wednesday 12 December 2012 05:46 To: solr-user@lucene.apache.org Subject: Re: edismax: implicit AND changes into implicit OR On 12/12/2012 5:51 AM, Burgmans, Tom wrote: > I have some doc

Re: edismax: implicit AND changes into implicit OR

2012-12-12 Thread Shawn Heisey
On 12/12/2012 5:51 AM, Burgmans, Tom wrote: I have some documents indexed; 3 of them contain “Thomas” and 4 of them contain “Michael”, but none of the contain both. A search for http://localhost:8983/solr/collection1/browse?defType=edismax&q=(Thomas+Michael)