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

Initiate full-text search earlier #941

Merged

Conversation

Jaifroid
Copy link
Member

Fixes #940.

It would be worth seeing if we can report interim results while waiting for dirEntry lookup promises to resolve.

@Jaifroid Jaifroid added this to the v3.7 milestone Dec 18, 2022
@Jaifroid Jaifroid self-assigned this Dec 18, 2022
@Jaifroid
Copy link
Member Author

I tested reporting each dirEntry promise as soon as it resolves, but it doesn't make enough of a difference and complicates the code. It might be possible to use the Search API to pull fewer results at a time in a more progressive way, but that would be for another PR, perhaps one that includes optional Suggestions.

@Jaifroid Jaifroid merged commit 9e4fd4c into main Dec 19, 2022
@Jaifroid Jaifroid deleted the Initiate-full-text-search-in-parallel-with-title-search branch December 19, 2022 07:33
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.

Launch full-text search in parallel with title search
1 participant