lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonny Marks (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-9914) SimpleFacets: refactor "contains" check into "SubstringBytesRefMatcher" class
Date Mon, 06 Feb 2017 13:55:41 GMT

     [ https://issues.apache.org/jira/browse/SOLR-9914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonny Marks updated SOLR-9914:
------------------------------
    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.

  was:
This patch refactors the "contains" logic for only including constraints which contain a given
substring, into a "BytesRefMatcher" interface and "SubstringBytesRefMatcher" implementation.

This allows users to have custom logic for including terms in the filter counts, not only
based on substring matches.


> SimpleFacets: refactor "contains" check into "SubstringBytesRefMatcher" class
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-9914
>                 URL: https://issues.apache.org/jira/browse/SOLR-9914
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jonny Marks
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-9914.patch, SOLR-9914.patch, SOLR-9914.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message