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

[PATCH] disable coord for generated BooleanQueries

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Bugzilla Id:
      33472

      Description

      Here's a patch that disables Similiarty.coord() in the scoring of most
      automatically generated boolean queries. The coord() score factor is
      appropriate when clauses are independently specified by a user, but is usually
      not appropriate when clauses are generated automatically, e.g., by a fuzzy,
      wildcard or range query. Matches on such automatically generated queries are
      currently penalized for not matching all terms.

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--boolean-coord.patch
          9 kB
          cutting@apache.org
        2. ASF.LICENSE.NOT.GRANTED--boolean-coord.patch
          13 kB
          cutting@apache.org

          Activity

            People

            • Assignee:
              java-dev@lucene.apache.org Lucene Developers
              Reporter:
              cutting Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: