Paging search results

When returning search results, the server pages them by default.

Request: Search query for paging search results

Consider the following search query.


Request: Search query for paging search results

Response: Search query for paging search results

The following example show that the response returns a Bundle. Let’s say, there are 200 matching search results in total. However, the Bundle actually contains only the first page of results. The URL marked next provides a link to fetch the next page of results. This allows client applications to fetch data in manageable amounts, which improves performance in many cases.


Example response—Search query for Paging search results

Request: Search query to control the number of returned results

You can control the number of returned results by using the _count parameter.


Request: Search query to control the number of returned results