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

Add BooleanSimilarityFactory to Solr

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                andywebb1975 Andy Webb
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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