Exact Code Search
Introduced in GitLab 15.9 with a flag named index_code_with_zoekt
for indexing and search_code_with_zoekt
for searching. Both are disabled by default.
Usage
When performing any Code search in GitLab it will choose to use “Exact Code Search” powered by Zoekt if the project is part of an enabled Group.
The main differences between Zoekt and advanced search are that Zoekt provides exact substring matching as well as allows you to search for regular expressions. Since it allows searching for regular expressions, certain special characters will require escaping. Backslash can escape special characters and wrapping in double quotes can be used for phrase searches.
Syntax
To understand the possible filtering options, see the Zoekt query syntax.