Skip to content
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

Regression fix: searcher skip 10k not possible #17977

Open
wants to merge 1 commit into
base: v15/dev
Choose a base branch
from

Conversation

Migaroez
Copy link
Contributor

@Migaroez Migaroez commented Jan 14, 2025

Description

Fixes #17920 caused by a breaking change in Examine 3.4

This PR uses the newly added functionality in Examine 3.6 to increase the amount of search results that can be skipped by calculating the max amount needed based on the skip take parameters.

Testing

See reproduction steps in the linked issue

Notes

Checked related controller methods in v13, but they seem to be using the SearchAfter option instead.

Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

This looks fine to me (having read the details on the issue and the latest Examine release).

I don't have a local setup with 10,000+ items to explicitly test, but if you've got and done that, I think my visual inspection will suffice.

Might just be worth adding a comment and/or link to the issue in code, explaining why we've provided the skipTakeMaxResults value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants