[
https://issues.apache.org/jira/browse/LUCENE-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-4511:
------------------------------------
Attachment: LUCENE-4511.patch
here is a new patch basically rewriting the TermsFilter. I switch to a Term
array rather than a treemap and made the filter immutable. I really don't like
if you can cache this filter somehow and its mutable. I also moved the most of
the work (figuring out when to reset the terms enum and when a field changes to
the ctor rather than doing it for each segment. I also added some more tests
> TermsFilter might return wrong results if a field is not indexed or not
> present in the index
> --------------------------------------------------------------------------------------------
>
> Key: LUCENE-4511
> URL: https://issues.apache.org/jira/browse/LUCENE-4511
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/other
> Affects Versions: 4.0, 4.1, 5.0
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Fix For: 4.1, 5.0
>
> Attachments: LUCENE-4511.patch, LUCENE-4511.patch
>
>
> TermsFilter returns if a term returns null from AIR#terms(term) while it
> should just continue. I will upload a test & fix shortly
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]