Example usage for org.springframework.data.solr.core.query Query getOffset

List of usage examples for org.springframework.data.solr.core.query Query getOffset

Introduction

In this page you can find the example usage for org.springframework.data.solr.core.query Query getOffset.

Prototype

@Nullable
Long getOffset();

Source Link

Document

Get number of rows to skip.

Usage

From source file:org.springframework.data.solr.core.DefaultQueryParser.java

private void processQueryOptions(SolrQuery solrQuery, Query query) {
    appendPagination(solrQuery, query.getOffset(), query.getRows());
    appendProjectionOnFields(solrQuery, query.getProjectionOnFields());
    appendFilterQuery(solrQuery, query.getFilterQueries());
    appendSort(solrQuery, query.getSort());
    appendDefaultOperator(solrQuery, query.getDefaultOperator());
    appendTimeAllowed(solrQuery, query.getTimeAllowed());
    appendDefType(solrQuery, query.getDefType());
    appendRequestHandler(solrQuery, query.getRequestHandler());

    processGroupOptions(solrQuery, query);
    processStatsOptions(solrQuery, query);
}