[
https://issues.apache.org/jira/browse/SOLR-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-1889:
---------------------------
Attachment: SOLR-1889.patch
Path that refactors both the q.op and mm param parsing logic into utility
methods and updates the mm logic to take q.op into account.
its not as clean as i thought it would be becuse of how QParser eals with
params vs localParams, but it's functional
> 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
>
> Attachments: SOLR-1889.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]