Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1860

switch MultiTermQuery to "constant score auto" rewrite by default

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9
    • 2.9
    • core/search
    • None
    • 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.

      Attachments

        1. LUCENE-1860.patch
          9 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: