Skip to content

Set a default cutoff for Manticore. #1239

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
Dec 31, 2022
Merged

Set a default cutoff for Manticore. #1239

merged 1 commit into from
Dec 31, 2022

Conversation

pat
Copy link
Owner

@pat pat commented Dec 31, 2022

Since Manticore 5.0, their default cutoff is the same as the search request’s page size - which helps make search requests faster. The unfortunate trade-off is that it means pagination breaks because we no longer know what the actual total number of results is (Manticore stops counting once the cutoff is reached).

So, at least for now, we’re going to set a default cutoff of 0, which essentially removes that limit. Judging by the CI results, Sphinx is fine with this too.

Since Manticore 5.0, their default cutoff is the same as the search
request’s page size - which helps make search requests faster. The
unfortunate trade-off is that it means pagination breaks because we no
longer know what the actual total number of results is (Manticore stops
counting once the cutoff is reached).

So, at least for now, we’re going to set a default cutoff of 0, which
essentially removes that limit.
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.

1 participant