Adjustments for Elasticsearch results: fuzzy searches, contributor doc rankings
What does this MR do and why?
- De-boosts docs in the "Contribute" section
- Enables fuzzy searching (typo tolerance/handling for misspellings)
Relates to #128 (closed) (we will likely have a few more MRs for that one)
Screenshots, screen recordings, or links to review app
Fuzzy matching:
before | after |
---|---|
Adjusting contributor doc weight:
before | after |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md. -
Run searches, and compare results to the review app here: https://new.docs.gitlab.com/review-mr-201/
- Contribute docs should be less likely to rank high
- Misspellings/typos should return results
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Sarah German