Skip to content

Adjustments for Elasticsearch results: fuzzy searches, contributor doc rankings

Sarah German requested to merge 128-elasticsearch-deboost-dev-docs into elasticsearch

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
image image
image image

Adjusting contributor doc weight:

before after
image image
image image
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/technical-writing-group/gitlab-docs-hugo/-/blob/main/doc/setup.md.
  2. 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.

Edited by Sarah German

Merge request reports

Loading