Use Gitlab::Search::Client instead of Elastic::Helper.default.client in EE

What does this MR do and why?

Use Gitlab::Search::Client instead of Elastic::Helper.default.client in EE

  • Replace direct client usage with Gitlab::Search::Client
  • Add es_client accessor for specs per note in issue
  • Update spec helper docs

References

#480320 (closed)

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #480320 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading