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

5x: backport ClassicSimilarity, mark DefaultSimilarity deprecated & update javadocs to mention ClassicSim vs. BM25Sim

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4
    • None
    • None
    • New

    Description

      LUCENE-6789 changed the default Similarity on trunk to BM25, and renamed DefaultSimiliarity to ClassicSimilarity for backcompat w/o confusion about the "default" name.

      But nothing related to this change was committed to the 5x branch.

      On the 5x branch we should:

      • mark DefaultSimiliarity deprecated
      • provide a ClassicSimilarity for 5.x users to switch to to resolve deprecations w/o changing behavior (and allow smooth upgrade to 6.x later)
      • note in the DefaultSimiliarity javadocs that starting with 6.0 BM25 will be the recommended default and users should investigate it

      Attachments

        1. LUCENE-6887.patch
          8 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: