public class LimitFilter extends NoCacheFilter
Modifier and Type | Class and Description |
---|---|
class |
LimitFilter.LimitDocIdSet |
Constructor and Description |
---|
LimitFilter(int limit) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs) |
int |
getLimit() |
wrap
public int getLimit()
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws IOException
getDocIdSet
in class org.apache.lucene.search.Filter
IOException
Copyright © 2009–2015. All rights reserved.