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

Limits for autosuggest queries #7

Open
adamgundry opened this issue May 17, 2022 · 1 comment
Open

Limits for autosuggest queries #7

adamgundry opened this issue May 17, 2022 · 1 comment

Comments

@adamgundry
Copy link
Member

At the moment, queryAutosuggest imposes limits on the number of documents considered, and returns no results if these are exceeded (this is unlike query which IIUC will return results if the limits are reached, it will merely stop considering more documents). At the very least, we should document the meaning of paramAutosuggestPrefilterLimit and paramAutosuggestPostfilterLimit.

For debugging search issues with a production dataset, it would be helpful if (a variant of) queryAutosuggest returned an explicit indication whether the query actually had no results or whether it hit a specific limit.

@adamgundry
Copy link
Member Author

See also #13. Prior to that, autosuggest queries could compute unions/intersections of very large document ID sets even before the pre-filter limit was enforced.

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

No branches or pull requests

1 participant