Lucene - Core
  1. Lucene - Core
  2. LUCENE-1860

switch MultiTermQuery to "constant score auto" rewrite by default

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Right now it defaults to scoring BooleanQuery, and that's inconsistent w/ QueryParser which does constant score auto.

      The new multi-term queries already set this default, so the only core queries this will impact are PrefixQuery and WildcardQuery. FuzzyQuery, which has its own rewrite to BooleanQuery, will keep doing so.

      1. LUCENE-1860.patch
        9 kB
        Michael McCandless

        Activity

        Michael McCandless created issue -
        Michael McCandless made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Component/s Search [ 12310235 ]
        Michael McCandless made changes -
        Attachment LUCENE-1860.patch [ 12417781 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Miller made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12474223 ] Default workflow, editable Closed status [ 12563833 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12563833 ] jira [ 12585356 ]

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development