@Deprecated public final class BitsFilteredDocIdSet extends FilteredDocIdSet
Filter to apply the acceptDocs
passed to getDocIdSet() before returning the final DocIdSet.| Constructor and Description |
|---|
BitsFilteredDocIdSet(DocIdSet innerSet,
Bits acceptDocs)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
match(int docid)
Deprecated.
Validation method to determine whether a docid should be in the result set.
|
static DocIdSet |
wrap(DocIdSet set,
Bits acceptDocs)
Deprecated.
Convenience wrapper method: If
acceptDocs == null it returns the original set without wrapping. |
bits, getChildResources, getDelegate, isCacheable, iterator, ramBytesUsedpublic static DocIdSet wrap(DocIdSet set, Bits acceptDocs)
acceptDocs == null it returns the original set without wrapping.set - Underlying DocIdSet. If null, this method returns nullacceptDocs - Allowed docs, all docids not in this set will not be returned by this DocIdSet.
If null, this method returns the original set without wrapping.protected boolean match(int docid)
FilteredDocIdSetmatch in class FilteredDocIdSetdocid - docid to be testedCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.