Advanced Search page Gitlab
Go to the Admin page in Gitlab > Settings > Advanced Search Expand Advanced Search to see the configuration.
Disabling feature
Go to the Advanced search page in Gitlab De-select the following options;
- Elasticsearch indexing
- Search with Elasticsearch enabled
Recreate indices
Login and connect to the gitlab instance. We can remove the current indices and recreate them as new with following command;
|
|
Enabling indexing
Go to the Advanced search page in Gitlab. We enable the Elasticsearch indexing option and Press “Index all projects” button. In the background ElasticSearch will be populated with information The state can be found with following command;
|
|
Enabling Search capability
When the information from the command above said 0 in queue, we can enable the search option. Go to the Advanced search page in Gitlab. Select the Search with Elasticsearch enabled option and verifiy with following command;
|
|
Now both Indexing and Search enabled should be on “yes”
Check GUI
When we go to the gitlab page and search for something the Code and Merge Request options should be visible.