I don't think it is 8812. q.op was completely ignored by edismax prior to
5.5, so it is not mm that changed.

If you do the same 5.4 query with q.op=OR I suspect it will not change the
debug query at all.

On 30 May 2016 at 21:07, Jan Høydahl <jan....@cominvent.com> wrote:

> Hi,
>
> This may be related to SOLR-8812, but still different. Please file a JIRA
> issue for this.
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
>
> > 29. mai 2016 kl. 18.20 skrev Issei Nishigata <duo.2...@gmail.com>:
> >
> > Hi,
> >
> > “mm" parameter does not work properly, when I set "q.op=AND” after Solr
> 5.5.
> > In Solr 5.4, mm parameter works expectedly with the following setting.
> >
> > ---
> > [schema]
> > <fieldType name="bi_gram" class="solr.TextField">
> >   <analyzer>
> >     <tokenizer class="solr.NGramTokenizerFactory" minGramSize="2"
> maxGramSize="2"/>
> >   </analyzer>
> > </fieldType>
> >
> >
> > [request]
> >
> http://localhost:8983/solr/collection1/select?defType=edismax&q.op=AND&mm=2&q=solar
> > —
> >
> > After Solr 5.5, the result will not be the same as Solr 5.4.
> > Has the setting of mm parameter specs, or description of file setting
> changed?
> >
> >
> > [Solr 5.4]
> > <response>
> > ...
> >   <lst name="params">
> >     <str name="mm">2</str>
> >     <str name="q">solar</str>
> >     <str name="defType">edismax</str>
> >     <str name="q.op">AND</str>
> >   </lst>
> > ...
> > <result name="response" numFound="1" start="0">
> >   <doc>
> >     <str name="id">0</str>
> >     <arr name="content">
> >       <str>solr</str>
> >     </arr>
> >   </doc>
> > </result>
> > <lst name="debug">
> >   <str name="rawquerystring">solar</str>
> >   <str name="querystring">solar</str>
> >   <str name="parsedquery">
> >   (+DisjunctionMaxQuery((((text:so text:ol text:la
> text:ar)~2))))/no_coord
> >   </str>
> >   <str name="parsedquery_toString">+(((text:so text:ol text:la
> text:ar)~2))</str>
> >   ...
> > </response>
> >
> >
> >
> > [Solr 6.0.1]
> >
> > <response>
> > ...
> >   <lst name="params">
> >     <str name="mm">2</str>
> >     <str name="q">solar</str>
> >     <str name="defType">edismax</str>
> >     <str name="q.op">AND</str>
> >   </lst>
> > ...
> > <result name="response" numFound="0" start="0"/>
> >   <lst name="debug">
> >     <str name="rawquerystring">solar</str>
> >     <str name="querystring">solar</str>
> >     <str name="parsedquery">
> >     (+DisjunctionMaxQuery(((+text:so +text:ol +text:la
> +text:ar))))/no_coord
> >     </str>
> >     <str name="parsedquery_toString">+((+text:so +text:ol +text:la
> +text:ar))</str>
> > ...
> >
> >
> > As shown above, parsedquery also differs from Solr 5.4 and Solr
> 6.0.1(after Solr 5.5).
> >
> >
> > —
> > Thanks
> > Issei Nishigata
>
>

Reply via email to