Skip to content

[docs] Clean up cross-repo links #1434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/iterators.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The PHP client includes helpers for iterating through results by page or by hits

## Search response iterator [search-response-iterator]

Use the `SearchResponseIterator` to iterate page by page in a search result using [pagination](elasticsearch://docs/reference/elasticsearch/rest-apis/paginate-search-results.md).
Use the `SearchResponseIterator` to iterate page by page in a search result using [pagination](elasticsearch://reference/elasticsearch/rest-apis/paginate-search-results.md).

Here’s an example:

Expand Down Expand Up @@ -40,7 +40,7 @@ foreach($pages as $page) {

### Search hit iterator [search-hit-iterator]

Use the `SearchHitIterator` to iterate in a `SearchResponseIterator` without worrying about [pagination](elasticsearch://docs/reference/elasticsearch/rest-apis/paginate-search-results.md).
Use the `SearchHitIterator` to iterate in a `SearchResponseIterator` without worrying about [pagination](elasticsearch://reference/elasticsearch/rest-apis/paginate-search-results.md).

Here’s an example:

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/search_operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ The scrolling functionality of {{es}} is used to paginate over many documents in

Scrolling works by maintaining a "point in time" snapshot of the index which is then used to page over. This window allows consistent paging even if there is background indexing/updating/deleting. First, you execute a search request with `scroll` enabled. This returns a "page" of documents, and a `scroll_id` which is used to continue paginating through the hits.

More details about scrolling can be found in the [reference documentation](elasticsearch://docs/reference/elasticsearch/rest-apis/paginate-search-results.md#scroll-search-results).
More details about scrolling can be found in the [reference documentation](elasticsearch://reference/elasticsearch/rest-apis/paginate-search-results.md#scroll-search-results).

This is an example which can be used as a template for more advanced operations:

Expand Down