Skip to content

Commit

Permalink
Update docs/reference/search/request/from-size.asciidoc
Browse files Browse the repository at this point in the history
Co-authored-by: debadair <debadair@elastic.co>
  • Loading branch information
jrodewig and debadair authored May 15, 2020
1 parent 89d0d53 commit 70c1d65
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/reference/search/request/from-size.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
By default, the search API returns the top 10 matching documents,
starting with the most-relevant document.

To paginate a larger set of search results, you can use the search API's `size`
and `from` parameters. The `from` parameter is a zero-indexed offset from
the first result you want to fetch. The `size` parameter sets the maximum
number of results to return.
To paginate through a larger set of results, you can use the search API's `size`
and `from` parameters. The `size` parameter is the number of matching documents to return. The `from` parameter is a zero-indexed offset from the beginning of the complete result set that indicates the document you want to start with.

[IMPORTANT]
====
Expand Down

0 comments on commit 70c1d65

Please sign in to comment.