Class AbstractSearchPageableRequest

java.lang.Object
org.apache.maven.index.AbstractSearchRequest
org.apache.maven.index.AbstractSearchPageableRequest
Direct Known Subclasses:
IteratorSearchRequest

public class AbstractSearchPageableRequest extends AbstractSearchRequest
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
  • 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 -