lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Updated] (LUCENE-6583) Remove FilteredQuery
Date Thu, 18 Jun 2015 11:46:03 GMT


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

Here is a patch. Most of it is about simply replacing FilteredQuery with BooleanQuery. However,
I had to slightly change the Filter class so that it can choose whether it should be applied
eagerly (through the iterator) or lazily (through the bits) when consumed through the Query
API. This was useful to keep the lucene/facets and lucene/spatial modules working since they
build filters that should always be consumed after the query.

> Remove FilteredQuery
> --------------------
>                 Key: LUCENE-6583
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: 6.0
>         Attachments: LUCENE-6583.patch
> Now that BooleanQuery can handle filters, FilteredQuery should be removed in trunk and
deprecated in 5.x.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message