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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development