[
https://issues.apache.org/jira/browse/LUCENE-6583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/LUCENE-6583
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]