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

Fix and pinpoint source of very rare search mismatch bug #32

Open
Lamarcke opened this issue Aug 6, 2023 · 0 comments
Open

Fix and pinpoint source of very rare search mismatch bug #32

Lamarcke opened this issue Aug 6, 2023 · 0 comments

Comments

@Lamarcke
Copy link
Collaborator

Lamarcke commented Aug 6, 2023

I've noticed that sometimes, very very rarely, results show up in the search bar, but not on the actual search results.

Possible causes
This is probably an issue with how the value debounce works for the search bar. It takes into account how many characters a user has typed (including spaces) and has a threshold of simply "search on every three characters". iirc it doesn't search on X wait time.

It's a pretty simple system, but it helps avoids some potential extra requests on our ManticoreSearch engine.

It may be worth it unifying and migrating to React Query hooks to handle these.

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