Skip to content

Conversation

@sarahlwelton
Copy link
Contributor

@sarahlwelton sarahlwelton self-assigned this Nov 19, 2024
Copy link
Collaborator

@osfameron osfameron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, these are the same changes that were added as driveby to the "floating page" fix?

Use `search_after` with `from/offset` and `sort` to control pagination in search results.

Give a value for each string or JSON object in the `sort` array to the `search_after` array.
For example, if you had a set of 10 documents to sort based on `_id` values of 1-10, with `from` set to `2` and `search_after` set to `8`, documents 9-10 appear on the same page.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't make head or tail of this, but I am a simple squirrel.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, though it's not new wording, just been moved... (still don't understand it though)

@sarahlwelton sarahlwelton merged commit 40f3793 into capella Nov 20, 2024
@sarahlwelton sarahlwelton deleted the DOC-10997-fts-pagination-info branch November 20, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants