[ 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 making this entire thing a bit more cache friendly but more complex. I changed the internal representation to serialized bytes and parallel arrays optimized for single field multiple terms case. This filters i often used with a large number of terms in a single field and usually cached for best performance. I also changed the class to be final and added a lot 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, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org