# Pagination support on Search

**URL:** <https://community.stardog.com/t/pagination-support-on-search/819>\
**Category:** Support\
**Created:** [February 21, 2018, 5:40pm UTC](https://community.stardog.com/t/pagination-support-on-search/819 "2018-02-21T17:40:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfsilva92](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/gfsilva92/32/254_2.png) [@gfsilva92](https://community.stardog.com/u/gfsilva92)\
**Post date:** [February 21, 2018, 5:40pm UTC](https://community.stardog.com/t/pagination-support-on-search/819/1 "2018-02-21T17:40:48Z")

</div>

Hello everyone,

I’m doing a search like this:

Searcher search = searchConn.search().limit(size).query(String.join(" ", terms) + “~2”);

Is there a way to define the page that I want to retrieve also? Something like:

Searcher search = searchConn.search().limit(size).page(3).query(String.join(" ", terms) + “~2”);

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [February 21, 2018, 6:38pm UTC](https://community.stardog.com/t/pagination-support-on-search/819/2 "2018-02-21T18:38:44Z")

</div>

Paging is not explicit but you can do it with the limit and offset arguments.

Jess

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [March 7, 2018, 6:39pm UTC](https://community.stardog.com/t/pagination-support-on-search/819/3 "2018-03-07T18:39:02Z")

</div>

Closed on March 7, 2018, 6:39pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
