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

Add BooleanSimilarityFactory to Solr

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.7, 9.0
    • None
    • None

    Description

      Solr doesn't expose Lucene's BooleanSimilarity (ref LUCENE-5867) so it's not available for use in situations where BM25/TDF-IF are not useful. (Fields using this similarity will likely also set omitNorms and omitTermFreqAndPositions to true.)

      Our use case is ngram-driven suggestions, where the frequency of occurrence of a particular sequence of characters is not something users would expect to be taken into account when ordering suggestions.

       

      Here's my PR: https://github.com/apache/lucene-solr/pull/867 (I'm at Activate if anyone would like to talk this through in person.)

      Attachments

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              andywebb1975 Andy Webb
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m