Details

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

      Description

      wildcardquery has logic to rewrite to termquery if there is no wildcard character, but

      • it needs to pass along the boost if it does this
      • if the user asked for a 'constant score' rewriteMethod, it should rewrite to a constant score query for consistency.

      additionally, if the query is really a prefixquery, it would be nice to rewrite to prefix query.
      both will enumerate the same number of terms, but prefixquery has a simpler comparison function.

        Attachments

        1. LUCENE-1951_bwcompatbranch.patch
          0.9 kB
          Robert Muir
        2. LUCENE-1951.patch
          9 kB
          Robert Muir
        3. LUCENE-1951.patch
          6 kB
          Robert Muir

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: