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)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DocIdSet |
wrap(DocIdSet set,
Bits acceptDocs)
Convenience wrapper method: If
acceptDocs == null it returns the original set without wrapping. |
bits, isCacheable, iteratorpublic 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.Copyright © 2010 - 2020 Adobe. All Rights Reserved