You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/02/20 19:14:12 UTC

[jira] [Updated] (LUCENE-6270) Replace TermsFilter with TermsQuery

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

Adrien Grand updated LUCENE-6270:
---------------------------------
    Attachment: LUCENE-6270.patch

Here is a patch (which depends on LUCENE-6269). It takes the same approach as TermsFilter (sorted terms, pre-computed hash, implements Accountable) and just implements the query API instead of Filter. Like BooleanFilter we will need to keep the filter in 5.x given that it supports random-access.

> Replace TermsFilter with TermsQuery
> -----------------------------------
>
>                 Key: LUCENE-6270
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6270
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6270.patch
>
>
> We should replace TermsFilter with a TermsQuery like we started doing for other filters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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