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

feat(search): disable fulltext pages search if we detect a country name in query #3481

Merged

Conversation

marcelgerber
Copy link
Member

@marcelgerber marcelgerber commented Apr 11, 2024

Joe was suggesting this; because otherwise the R&W results are pretty much useless when a country name is present in the query (which we are gonna be promoting now).

Overall, we were also talking about how useless fulltext queries usually are. There are only some rare cases where they provide any value currently; and if we end up in a situation where we also index headings, key insights, SDG targets etc., then we could stop doing fulltext search entirely.

Tip: Review with whitespace changes hidden :)

@marcelgerber marcelgerber marked this pull request as ready for review April 11, 2024 15:43
@marcelgerber marcelgerber requested a review from ikesau April 11, 2024 15:44
@marcelgerber marcelgerber force-pushed the search-pages-disable-fulltext-country-detection branch from cb9fc63 to 67583c5 Compare April 11, 2024 16:22
Base automatically changed from search-utils to master April 11, 2024 16:22
@marcelgerber marcelgerber force-pushed the search-pages-disable-fulltext-country-detection branch 2 times, most recently from f54369b to c1520b0 Compare April 11, 2024 21:14
@marcelgerber marcelgerber force-pushed the search-pages-disable-fulltext-country-detection branch from c1520b0 to f9eb694 Compare April 15, 2024 10:14
@marcelgerber marcelgerber merged commit d5ba02b into master Apr 15, 2024
23 checks passed
@marcelgerber marcelgerber deleted the search-pages-disable-fulltext-country-detection branch April 15, 2024 14:38
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

Successfully merging this pull request may close these issues.

2 participants