Leverage Elasticsearch for faster, more advanced code search across your entire GitLab instance.
This is the user documentation. To install and configure Elasticsearch, visit the administrator documentation.
The Advanced Global Search in GitLab is a powerful search service that saves you time. Instead of creating duplicate code and wasting time, you can now search for code within other teams that can help your own project.
GitLab leverages the search capabilities of Elasticsearch and enables it when searching in:
- Merge requests
- Notes (comments)
The Advanced Global Search can be useful in various scenarios.
If you are dealing with huge amount of data and want to keep GitLab’s search fast, the Advanced Global Search will help you achieve that.
Your company may consist of many different developer teams each of which has their own group where the various projects are hosted. Some of your applications may be connected to each other, so your developers need to instantly search throughout the GitLab instance and find the code they search for.
Just use the search as before and GitLab will show you matching code from each project you have access to.
You can also use the Advanced Syntax Search which provides some useful queries.