Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8570

Make discountOverlaps' initialization value consistent across subclasses of SimilarityFactory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.4
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:

      Description

      Subclasses of SimilarityFactory have a member variable named discountOverlaps.
      In ClassicSimilarityFactory, it is initialized to true in SOLR-5561.
      Since discountOverlaps' default value is true, we should do the same in remaining subclasses.

        Attachments

        1. SOLR-8570.patch
          6 kB
          Ahmet Arslan
        2. SOLR-8570.patch
          6 kB
          Ahmet Arslan

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iorixxx Ahmet Arslan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: