Search with a limit and offset - BloomReach Experience - Open Source CMS

Search with a limit and offset

If you do not specify a limit or offset, the default limit of 10 and offset 0 will be used.

You can specify the limit and offset query time as follows

Range query:

HippoSolrClient solrClient =
      HstServices.getComponentManager().getComponent(
                    HippoSolrClient.class.getName(), "org.hippoecm.hst.solr");
HippoQuery hippoQuery = solrClient.createQuery(query);
hippoQuery.setLimit(pageSize);
hippoQuery.setOffset(offset);
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?