You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2018/03/30 00:52:00 UTC

[jira] [Comment Edited] (SOLR-12165) Ref Guide: DisMax default mm param value is improperly documented as 100%

    [ https://issues.apache.org/jira/browse/SOLR-12165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420015#comment-16420015 ] 

Steve Rowe edited comment on SOLR-12165 at 3/30/18 12:51 AM:
-------------------------------------------------------------

I've attached a patch that corrects the dismax doc, and adds an {{mm}} param item to the edismax doc, referring to dismax's doc, but spelling out its different default {{mm}} handling.

I'll hold off committing this for a day or so, in case anybody would like to review.

I don't think this should necessarily trigger a 7.3 ref guide RC respin, but it should be included if a respin occurs for some other reason. 


was (Author: steve_rowe):
I've attached a patch that corrects the dismax doc, and adds a {{mm}} param item to the edismax doc, referring to dismax's doc, but spelling out its different default {{mm}} handling.

I'll hold off committing this for a day or so, in case anybody would like to review.

I don't think this should necessarily trigger a 7.3 ref guide RC respin, but it should be included if a respin occurs for some other reason. 

> Ref Guide: DisMax default mm param value is improperly documented as 100%
> -------------------------------------------------------------------------
>
>                 Key: SOLR-12165
>                 URL: https://issues.apache.org/jira/browse/SOLR-12165
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Major
>         Attachments: SOLR-12165.patch
>
>
> {{DisMaxQParser.parseMinShouldMatch()}} sets default {{mm}} to 100% if {{q.op}}=="AND", and to 0% otherwise.
> {{ExtendedDismaxQParser.parseOriginalQuery()}} sets default {{mm}} to 0% if there are explicit operators other than "AND" in the query (see SOLR-2649 and SOLR-8812), and otherwise falls through to dismax’s logic.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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