Skip to content
代码片段 群组 项目
未验证 提交 9b2d0159 编辑于 作者: Dmitry Gruzd's avatar Dmitry Gruzd 提交者: GitLab
浏览文件

Merge branch 'gitlab-search' into 'master'

Update exact code search docs

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/150248



Merged-by: default avatarDmitry Gruzd <dgruzd@gitlab.com>
Approved-by: default avatarDmitry Gruzd <dgruzd@gitlab.com>
Co-authored-by: default avatarAshraf Khamis <akhamis@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -23,7 +23,7 @@ WARNING: ...@@ -23,7 +23,7 @@ WARNING:
This feature is in [Beta](../../policy/experiment-beta-support.md#beta) and subject to change without notice. This feature is in [Beta](../../policy/experiment-beta-support.md#beta) and subject to change without notice.
For more information, see [epic 9404](https://gitlab.com/groups/gitlab-org/-/epics/9404). For more information, see [epic 9404](https://gitlab.com/groups/gitlab-org/-/epics/9404).
With exact code search, you can use regular expressions and exact strings to search for code in a project. With exact code search, you can use regular expressions and exact strings to search for code in one or more projects.
You can use backslashes to escape special characters and double quotes to search for exact strings. You can use backslashes to escape special characters and double quotes to search for exact strings.
Exact code search is powered by [Zoekt](https://github.com/sourcegraph/zoekt) Exact code search is powered by [Zoekt](https://github.com/sourcegraph/zoekt)
......
...@@ -10,13 +10,15 @@ DETAILS: ...@@ -10,13 +10,15 @@ DETAILS:
**Tier:** Free, Premium, Ultimate **Tier:** Free, Premium, Ultimate
**Offering:** GitLab.com, Self-managed, GitLab Dedicated **Offering:** GitLab.com, Self-managed, GitLab Dedicated
GitLab has three types of search: basic search, [advanced search](advanced_search.md), and [exact code search](exact_code_search.md). GitLab has three types of search: **basic search**, [**advanced search**](advanced_search.md),
and [**exact code search**](exact_code_search.md).
All three types are available for code search. GitLab uses these types in this order of priority: All three types are available for code search.
GitLab uses these types in this order of priority:
- Exact code search: regular expressions and exact strings are supported. - **Exact code search:** regular expressions and exact strings are supported.
- Advanced search: when exact code search is not available. - **Advanced search:** when exact code search is not available.
- Basic search: when exact code search and advanced search are not available - **Basic search:** when exact code search and advanced search are not available
or when you search against a non-default branch. or when you search against a non-default branch.
This type does not support group or global search. This type does not support group or global search.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册