Method Wrap
Wrap(DocIdSet, IBits)
Convenience wrapper method: If acceptDocs == null
it returns the original set without wrapping.
Declaration
public static DocIdSet Wrap(DocIdSet set, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
DocIdSet | set | Underlying DocIdSet. If |
IBits | acceptDocs | Allowed docs, all docids not in this set will not be returned by this DocIdSet.
If |
Returns
Type | Description |
---|---|
DocIdSet |