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/04/21 17:52:00 UTC
[jira] [Updated] (LUCENE-6448) Make Filter a better Query citizen
[ https://issues.apache.org/jira/browse/LUCENE-6448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6448:
---------------------------------
Attachment: LUCENE-6448.patch
Here is a patch that fixes some equals/hashCode impls.
I added a hack to QueryUtils to get better coverage on filters but if you don't like it I can remove it.
> Make Filter a better Query citizen
> ----------------------------------
>
> Key: LUCENE-6448
> URL: https://issues.apache.org/jira/browse/LUCENE-6448
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: Trunk, 5.2
>
> Attachments: LUCENE-6448.patch
>
>
> Even if Filter now extends Query, most filters fail the basic QueryUtils checks since they are not equal to their clones or don't take the boost into account.
--
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