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

[PATCH] disable coord for generated BooleanQueries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Fixed
    • None
    • None
    • core/search
    • None
    • Operating System: Linux
      Platform: PC

    • 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
          13 kB
          cutting@apache.org
        2. ASF.LICENSE.NOT.GRANTED--boolean-coord.patch
          9 kB
          cutting@apache.org

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: