Re: Difference in query behavior.

2015-11-30 Thread Jack Krupansky
The mm parameter or default operator logic only applies to the top level of the query. Once you get nested in parentheses below the top level, Solr/Lucene reverts to the default of the OR (SHOULD) operator. -- Jack Krupansky On Mon, Nov 30, 2015 at 5:45 AM, Modassar Ather

Re: Difference in query behavior.

2015-11-30 Thread Upayavira
I cannot immediately explain the behaviour you are seeing, but can't you use a filter query to achieve the same? Add fq=topic:facet to your query string, and you'll be set. As to the original behaviour, the parsed query looks wrong, as it is missing a bracket. Can you provide all of the versions

Re: Difference in query behavior.

2015-11-30 Thread Alexandre Rafalovitch
On 30 November 2015 at 05:45, Modassar Ather wrote: > > I have a query title:(solr lucene api). The mm is set to 100% using q.op as > +(title:solr **title:faceting** title:api)~3 Does it though? solr lucene api => solr faceting api! Is it possible you are staring at the

Re: Difference in query behavior.

2015-11-30 Thread Modassar Ather
Thanks for your response. Upayavira : The missing bracket is a copy paste error. Correct parsed query : +(+topic:facet +(title:solr title:lucene title:api)). Use of fq is not an option as these are user queries. Alexandre : That is just an example query. Those terms used are just to explain the