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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: