Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1889

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • search
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hossman Chris M. Hostetter Assign to me
            hossman Chris M. Hostetter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment