public class BitDocIdSetCachingWrapperFilter extends BitDocIdSetFilter
Filter
wrapper that implements BitDocIdSetFilter
.Constructor and Description |
---|
BitDocIdSetCachingWrapperFilter(Filter filter)
Wraps another filter's result and caches it into bitsets.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BitDocIdSet |
getDocIdSet(LeafReaderContext context)
Same as
BitDocIdSetFilter.getDocIdSet(LeafReaderContext, Bits) but does not take
acceptDocs into account and guarantees to return a BitDocIdSet . |
Filter |
getFilter()
Gets the contained filter.
|
int |
hashCode() |
String |
toString(String field) |
getDocIdSet
createWeight
public BitDocIdSetCachingWrapperFilter(Filter filter)
filter
- Filter to cache results ofpublic Filter getFilter()
public BitDocIdSet getDocIdSet(LeafReaderContext context) throws IOException
BitDocIdSetFilter
BitDocIdSetFilter.getDocIdSet(LeafReaderContext, Bits)
but does not take
acceptDocs into account and guarantees to return a BitDocIdSet
.getDocIdSet
in class BitDocIdSetFilter
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.