You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/04/22 21:33:49 UTC

[jira] Created: (SOLR-1889) Change default value of 'mm' param to depend on explicit/implicit value of q.op

Change default value of 'mm' param to depend on explicit/implicit value of q.op
-------------------------------------------------------------------------------

                 Key: SOLR-1889
                 URL: https://issues.apache.org/jira/browse/SOLR-1889
             Project: Solr
          Issue Type: Improvement
          Components: search
            Reporter: Hoss Man
             Fix For: 1.5


The 'mm' param for the dismax parser has always defaulted to 100%, but many first time users seem to expect that the default behavior of dismax should work similar to the standard QParser, and be influenced by the schema configured default query op, or the q.op query param.

we should change the default value for "mm" to be equivalent to 100% if the derived value of "q.op" would be AND, and to be 1 if the derived value of "q.op" would be OR.  We should document this in CHANGES.txt so people who are upgrading know that if they have q.op=OR, but they still want a default mm value of 100%, they should add it as a configured default for their request handlers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-1889) Change default value of 'mm' param to depend on explicit/implicit value of q.op

Posted by "Eric Pugh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859977#action_12859977 ] 

Eric Pugh commented on SOLR-1889:
---------------------------------

Recently ran into this where the 'mm' was forcing perfect matches, and leading to the standard parser being great, but dismax being terrible!   

> Change default value of 'mm' param to depend on explicit/implicit value of q.op
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-1889
>                 URL: https://issues.apache.org/jira/browse/SOLR-1889
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Hoss Man
>             Fix For: 1.5
>
>
> The 'mm' param for the dismax parser has always defaulted to 100%, but many first time users seem to expect that the default behavior of dismax should work similar to the standard QParser, and be influenced by the schema configured default query op, or the q.op query param.
> we should change the default value for "mm" to be equivalent to 100% if the derived value of "q.op" would be AND, and to be 1 if the derived value of "q.op" would be OR.  We should document this in CHANGES.txt so people who are upgrading know that if they have q.op=OR, but they still want a default mm value of 100%, they should add it as a configured default for their request handlers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org