debian-mirror-gitlab/doc/user/search/advanced_search.md

46 lines
1.7 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
2022-07-23 23:45:48 +05:30
stage: Data Stores
2021-01-03 14:25:43 +05:30
group: Global Search
2022-11-25 23:54:43 +05:30
info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments"
2020-10-24 23:57:45 +05:30
type: reference
---
2022-10-11 01:57:18 +05:30
# Advanced Search **(PREMIUM)**
2019-07-31 22:56:46 +05:30
2022-05-07 20:08:51 +05:30
> Moved to GitLab Premium in 13.9.
2019-07-31 22:56:46 +05:30
2022-10-11 01:57:18 +05:30
You can use Advanced Search for faster, more efficient search across the entire GitLab
instance. Advanced Search is based on Elasticsearch, a purpose-built full-text search
engine you can horizontally scale to get results in up to a second in most cases.
2020-05-24 23:13:21 +05:30
2022-10-11 01:57:18 +05:30
You can find code you want to update in all projects at once to save
maintenance time and promote innersourcing.
You can use Advanced Search in:
2021-04-17 20:07:23 +05:30
- Projects
- Issues
- Merge requests
- Milestones
2022-07-23 23:45:48 +05:30
- Users
2022-10-11 01:57:18 +05:30
- Epics (in groups only)
2021-04-17 20:07:23 +05:30
- Code
2022-07-23 23:45:48 +05:30
- Comments
2021-04-17 20:07:23 +05:30
- Commits
2022-10-11 01:57:18 +05:30
- Project wikis (not [group wikis](../project/wiki/group.md))
2022-07-23 23:45:48 +05:30
2022-10-11 01:57:18 +05:30
## Configure Advanced Search
2022-07-23 23:45:48 +05:30
2022-10-11 01:57:18 +05:30
- On GitLab.com, Advanced Search is enabled for groups with paid subscriptions.
- For self-managed GitLab instances, an administrator must
[configure Advanced Search](../../integration/advanced_search/elasticsearch.md).
2020-10-24 23:57:45 +05:30
2022-10-11 01:57:18 +05:30
## Syntax
2021-02-22 17:27:13 +05:30
2022-10-11 01:57:18 +05:30
See [Advanced Search syntax](global_search/advanced_search_syntax.md) for more information.
2021-02-22 17:27:13 +05:30
2022-10-11 01:57:18 +05:30
## Search by ID
2021-02-22 17:27:13 +05:30
2022-10-11 01:57:18 +05:30
- To search by issue ID, use the `#` prefix followed by the issue ID (for example, [`#23456`](https://gitlab.com/search?snippets=&scope=issues&repository_ref=&search=%2323456&group_id=9970&project_id=278964)).
- To search by merge request ID, use the `!` prefix followed by the merge request ID (for example, [`!23456`](https://gitlab.com/search?snippets=&scope=merge_requests&repository_ref=&search=%2123456&group_id=9970&project_id=278964)).