Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9912 SimpleFacets - support facet.excludeTerms parameter
  3. SOLR-9914

SimpleFacets: refactor "contains" check into "SubstringBytesRefFilter" class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None

    Description

      This patch refactors the "contains" logic for only including constraints which contain a given substring, into a "Predicate<BytesRef>" interface and "SubstringBytesRefFilter" implementation.
      This allows users to have custom logic for including terms in the filter counts, not only based on substring matches.

      Attachments

        1. SOLR-9914.patch
          19 kB
          Jonny Marks
        2. SOLR-9914.patch
          18 kB
          Jonny Marks
        3. SOLR-9914.patch
          20 kB
          Jonny Marks

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              jm100 Jonny Marks
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: