-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Search typeahead two words or more bug #4601
Comments
Tagging in @milaaraujo who knows this system best <3 <3 <3 |
I think a close analysis of exactly what requests are sent by the typeahead as this is typed in would be a great debugging step for anyone who's interested in taking this up. Noting a few potentially related issues: #3472 - optimizing typeahead queries to reduce latency in response to #3147 #3172 - using the "debounce" strategy to optimize the rate requests are sent, and reduce responses over-writing each other out of order Also, I believe there's a limit of 10 results somewhere, which may potentially clip off different result types if there are more than 10
That means that if 10 users are returned, we only show users. |
Right now I'm working on the UI/API improvements for geographic features project, but after I finish it I can work on this one. I just don't know when it will be! So if anyone is interested, go ahead and I can help with any question about the current code. |
Is there a way to temporarily disable typeahead? It is unpredictable. At this point I do not think it's appropriate to have running on the live site, but it would be great to work on sorting out these bugs in a test site. |
So, we have two problems here: how the results are returned (only users) and the set of results (weird typeahead results). 1 - It is not a problem that happens only when we search two words, for example: 2 - The results are not "wrong", this is not a "bug". For exemple, "oiltesting" returns -https://publiclab.org/notes/stevie/03-05-2015/gulf-coast-build-your-own-spectrometer-event - because in the post body we have:
So this is the way the full search works... We can stop using the full search and the results would be more predictable, I guess. What do you think, @jywarren? |
Just closing this up as I believe it is being addressed through a combination of UI and search functionality changes in #5708. Thanks! |
Typing two words or more (i.e. "wetlands mapping") only pulls up "users" with typeahead. "Wiki" and "tags" keywords do not show up. See attached image.
Similarly, typing in two words concatenated "oiltesting" also pulls up weird typeahead results.
The text was updated successfully, but these errors were encountered: