Package org.apache.maven.index
Class AbstractSearchPageableRequest
java.lang.Object
org.apache.maven.index.AbstractSearchRequest
org.apache.maven.index.AbstractSearchPageableRequest
- Direct Known Subclasses:
IteratorSearchRequest
Pageable search request. Adds "start" point, to skip wanted number of records, to implement paging. Use "count" of
AbstractSearchRequest to set page size.
- Author:
- cstamas
-
Field Summary
Fields inherited from class org.apache.maven.index.AbstractSearchRequest
UNDEFINED
-
Constructor Summary
ConstructorDescriptionAbstractSearchPageableRequest
(org.apache.lucene.search.Query query) AbstractSearchPageableRequest
(org.apache.lucene.search.Query query, List<IndexingContext> contexts) -
Method Summary
Methods inherited from class org.apache.maven.index.AbstractSearchRequest
getArtifactInfoFilter, getArtifactInfoPostprocessor, getContexts, getCount, getMatchHighlightRequests, getQuery, getResultHitLimit, isHitLimited, isLuceneExplain, setArtifactInfoFilter, setArtifactInfoPostprocessor, setContexts, setCount, setLuceneExplain, setMatchHighlightRequests, setQuery, setResultHitLimit
-
Constructor Details
-
AbstractSearchPageableRequest
public AbstractSearchPageableRequest(org.apache.lucene.search.Query query) -
AbstractSearchPageableRequest
public AbstractSearchPageableRequest(org.apache.lucene.search.Query query, List<IndexingContext> contexts)
-
-
Method Details
-
getStart
public int getStart()Returns the "start" of wanted results calculated from result set window. Simply, the count of documents to skip.- Returns:
-
setStart
public void setStart(int start) Sets the "start" of wanted results calculated from result set window. Simply, the count of documents to skip.- Parameters:
start
-
-