Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8057 Change default Sim to BM25 (w/backcompat config handling)
  3. SOLR-8261

Change the wrapped per-field default in SchemaSimilarityFactory to BM25 (conditional on luceneMatchVersion for backcompat)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      As outlined in parent issue...

      • use ClassicSimilarity as per-field default when luceneMatchVersion < 6.0
      • use BM25Similarity as per-field default when luceneMatchVersion >= 6.0

      SOLR-8329 can be used for folks who really want ClassicSimilarity as the per-field default but also really want luceneMatchVersion >= 6.0 for any other reasons

      Attachments

        1. SOLR-8261.patch
          5 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: