Hi,

I have some strange results when using both mm and q.op with edismax in
solr 8.11. In this case it looks like q.op has priority on mm.

In all other cases (solr 4 with both dismax and edismax ou Solr 8 with
dismax) in accordance with the documentation, mm has priority on q.op.

Here is my query and the results with generated parsedquery

defType=dismax or edismax
&mm=20%
&q.op=AND
&q=Champion Croissance
&qf=title_exact^0.9 title_srch^0.6% text_exact^0.5 text_srch^0.2



sorl 8.11 - dismax -> numFound = 142
+(
    ((text_srch:champion)^0.2 | (title_exact:champion)^0.9 |
(title_srch:champion)^0.6 | (text_exact:champion)^0.5)
    ((text_srch:croissanc)^0.2 | (title_exact:croissance)^0.9 |
(title_srch:croissanc)^0.6 | (text_exact:croissance)^0.5)
 ) ()


*sorl 8.11 - edismax -> numFound = 26 -> q.op is use (like if mm=100%)*
+(
    +(
        (text_srch:champion)^0.2 | (title_exact:champion)^0.9 |
(title_srch:champion)^0.6 | (text_exact:champion)^0.5
    )
    +(
        (text_srch:croissanc)^0.2 | (title_exact:croissance)^0.9 |
(title_srch:croissanc)^0.6 | (text_exact:croissance)^0.5
     )
)

*sorl 8.11 - edismax and q.op=AND removed -> numFound = 142 *
+(
    (
        (text_srch:champion)^0.2 | (title_exact:champion)^0.9 |
(title_srch:champion)^0.6 | (text_exact:champion)^0.5
    )
    (
        (text_srch:croissanc)^0.2 | (title_exact:croissance)^0.9 |
(title_srch:croissanc)^0.6 | (text_exact:croissance)^0.5
    )
 )

sorl 4.10 - dismax -> numFound = 142
+(
    (text_srch:champion^0.2 | title_exact:champion^0.9 |
title_srch:champion^0.6 | text_exact:champion^0.5)
    (text_srch:croissanc^0.2 | title_exact:croissance^0.9 |
title_srch:croissanc^0.6 | text_exact:croissance^0.5)
 ) ()

sorl 4.10 - edismax -> numFound = 142
+(
    (text_srch:champion^0.2 | title_exact:champion^0.9 |
title_srch:champion^0.6 | text_exact:champion^0.5)
    (text_srch:croissanc^0.2 | title_exact:croissance^0.9 |
title_srch:croissanc^0.6 | text_exact:croissance^0.5)
 )


Is there something wrong in my edismax query ?

Regards

Dominique

Reply via email to