Re: SOLR edismax and mm request parameter

2016-05-04 Thread ND
If I am understanding you correctly, it sounds like you are looking for an phrase match with a really large query slop parameter (qs, https://cwiki.apache.org/confluence/display/solr/The+DisMax+Query+Parser#TheDisMaxQueryParser-Theqs%28QueryPhraseSlop%29Parameter), I believe the old way of doing

Re: SOLR edismax and mm request parameter

2016-05-04 Thread Mark Robinson
Thanks for the mail Jaques. I have a doubt here. When we use q.op=AND what I understood is, ALL query terms should be present any where across the various "qf" fields ie all of the query terms need not be present in one single field, but just need to be present for sure among the various qf

Re: SOLR edismax and mm request parameter

2016-05-04 Thread Jacques du Rand
Sorry I meant "Ahmet Arslan" answer :) On 4 May 2016 at 11:56, Jacques du Rand wrote: > Although Mark Robinson's answer is correct you are now using the DISMAX > not the Edismax parser... > You can also play around with changing q.op parameter to 'AND' > > > > On 4

Re: SOLR edismax and mm request parameter

2016-05-04 Thread Jacques du Rand
Although Mark Robinson's answer is correct you are now using the DISMAX not the Edismax parser... You can also play around with changing q.op parameter to 'AND' On 4 May 2016 at 11:40, Mark Robinson wrote: > Thanks much Ahmet! > > I will try that out. > > Best, >

Re: SOLR edismax and mm request parameter

2016-05-04 Thread Mark Robinson
Thanks much Ahmet! I will try that out. Best, Mark On Tue, May 3, 2016 at 11:53 PM, Ahmet Arslan wrote: > Hi Mark, > > You could do something like this: > > _query_:{!dismax qf='field1' mm='100%' v=$qq} > OR > _query_:{!dismax qf='field2' mm='100%' v=$qq} > OR >

Re: SOLR edismax and mm request parameter

2016-05-03 Thread Ahmet Arslan
Hi Mark, You could do something like this: _query_:{!dismax qf='field1' mm='100%' v=$qq} OR _query_:{!dismax qf='field2' mm='100%' v=$qq} OR _query_:{!dismax qf='field3' mm='100%' v=$qq} https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries Ahmet On Wednesday, May

Re: SOLR edismax and mm request parameter

2016-05-03 Thread Mark Robinson
Hi, On further checking cld identify that *blue *is indeed appearing in one of the qf fields.My bad! Cld someone pls help me with the 2nd question. Thanks! Mark. On Tue, May 3, 2016 at 8:03 PM, Mark Robinson wrote: > Hi, > > I made a typo err in the prev mail for my

Re: SOLR edismax and mm request parameter

2016-05-03 Thread Mark Robinson
Hi, I made a typo err in the prev mail for my first question when I listed the query terms. Let me re-type both questions here once again pls. Sorry for any inconvenience. 1. My understanding of the mm parameter related to edismax is that, if mm=100%, only if ALL my query terms appear across

SOLR edismax and mm request parameter

2016-05-03 Thread Mark Robinson
Hi, 1. My understanding of the mm parameter related to edismax is that, if mm=100%, only if ALL my query terms appear across any of the qf fields will I get back documents ... ie all the terms *need not be present in one single field* .. they just need to be present across any of the fields in