Open eikob opened 4 months ago
The issue seems to be our query to elasticsearch, I'll investigate more.
Search requests containing "the" or "in" just return no results at all @lenguyenthanh
I tried to reproduce this on my local setup with no luck. Created the team and ingested all documents in elastic. Queries all looks good and the yielded the expected results.
Team(The in), from=0, size=15
Team(The main thing), from=0, size=15
I was running elasticsearch:8.8.0.
Not sure what else to try to reproduce this but posting this in case it's helpful
Exact URL of where the bug happened
https://lichess.org/team/all
Steps to reproduce the bug
What did you expect to happen?
The team "The main thing in atomic!" should show up (https://lichess.org/team/the-main-thing-in-atomic)
What happened instead?
The team is not found in the results (no results at all).
Operating system
macOS
Browser and version (or alternate access method)
Safari, current
Additional information
This bug was described here: https://lichess.org/forum/lichess-feedback/clubs-2?page=1
The team is not found if one includes "the" or "in" during search. For example "main thing" or "main thing atomic" finds the team, but "The main thing" or "main thing in atomic" does not.