Skip to content

Draft: Elastic upgrade: Implement Go Indexer "full" option

What does this MR do and why?

WHAT

  • This MR adds logic to do the following
    • Make command to start index processing for Elasticsearch on our Docs content
    • Indexing functionality:
      • Tests connection to Elasticsearch serverless instance
      • Connects to Elasticsearch
      • Only implements INDEX_TYPE=full (goes through all content both English and locale content and creates index mapping with necessary data to support document search).
        • Each mapping will map to a header section (header title and its content) instead of the entire content page (this was our previous implementation).
    • Updates index that is in Elasticsearch instance.

WHY

Screenshots, screen recordings, or links to review app

These are strongly recommended to assist reviewers and reduce the time to merge your change.

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.
  2. Check out this branch.

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.

Closes #472

Edited by Hiru Fernando

Merge request reports

Loading