[
https://issues.apache.org/jira/browse/LUCENE-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-3593:
------------------------------------
Attachment: LUCENE-3593.patch
next iteration. I added a AIOOBE to all the match methods to make the interface
happy. I think we should fix this as uwe mentioned. Uwe, can you create a
subtask / issue to fix this.. I think you already on it no? I added some more
optimizations if the Bits is instanceof MatchNoBits / MatchAllBits respectively
I return null instead of the DocIdSetIterator when appropriate. all test pass..
I think it's ready..
> Add a filter returning all document without a value in a field
> --------------------------------------------------------------
>
> Key: LUCENE-3593
> URL: https://issues.apache.org/jira/browse/LUCENE-3593
> Project: Lucene - Java
> Issue Type: New Feature
> Components: core/search
> Affects Versions: 3.6, 4.0
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3593.patch, LUCENE-3593.patch, LUCENE-3593.patch
>
>
> In some situations it would be useful to have a Filter that simply returns
> all document that either have at least one or no value in a certain field. We
> don't have something like that out of the box and adding it seems straight
> forward.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]