org.elasticsearch.common.lucene.search
Class LimitFilter.LimitDocSet
java.lang.Object
org.apache.lucene.search.DocIdSet
org.elasticsearch.common.lucene.docset.DocSet
org.elasticsearch.common.lucene.docset.GetDocSet
org.elasticsearch.common.lucene.search.LimitFilter.LimitDocSet
- All Implemented Interfaces:
- org.apache.lucene.util.Bits
- Enclosing class:
- LimitFilter
public class LimitFilter.LimitDocSet
- extends GetDocSet
Nested classes/interfaces inherited from interface org.apache.lucene.util.Bits |
org.apache.lucene.util.Bits.MatchAllBits, org.apache.lucene.util.Bits.MatchNoBits |
Fields inherited from class org.apache.lucene.search.DocIdSet |
EMPTY_DOCIDSET |
Fields inherited from interface org.apache.lucene.util.Bits |
EMPTY_ARRAY |
Method Summary |
boolean |
get(int doc)
|
Methods inherited from class org.apache.lucene.search.DocIdSet |
isCacheable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LimitFilter.LimitDocSet
public LimitFilter.LimitDocSet(int maxDoc,
int limit)
get
public boolean get(int doc)
- Specified by:
get
in interface org.apache.lucene.util.Bits
- Specified by:
get
in class DocSet
Copyright © 2009-2012. All Rights Reserved.