Usage of /usr/bin/gitlab-elasticsearch-indexer:
-archived string
The project is archived or not
-blob-type string
The type of blobs to index. Accepted values: 'blob', 'wiki_blob' (default "blob")
-commit-traversal-ids-enabled
When true, traversal_ids is written onto commit documents
-from-sha string
The flag to set fromSHA value. Accepted values: SHA-1 hash
-full-path string
Full path
-group-id int
Group ID (default -1)
-hashed-root-namespace-id int
The hashed root namespace id (default -1)
-organization-fields-enabled-blob
When true, organization fields are written onto blob documents
-organization-fields-enabled-commit
When true, organization fields are written onto commit documents
-organization-fields-enabled-wiki
When true, organization fields are written onto wiki_blob documents
-organization-id int
The organization the repository belongs to. Omitted or negative means organization fields are not indexed (default -1)
-organization-traversal-ids string
The flag to index organization_traversal_ids into ES. Accepted formats: '24/5-1-6-'
-project-id int
Project ID (default -1)
-repository-access-level int
Project repository_access_level. Accepted values: 0, 10, 20 (default -1)
-schema-version-blob int
The value of schema_version for blob. Format: YYVV
-schema-version-commit int
The value of schema_version for commit. Format: YYVV
-schema-version-wiki int
The value of schema_version for wiki. Format: YYVV
-skip-blobs
Skips indexing blobs for the repo
-skip-commits
Skips indexing commits for the repo
-timeout string
The timeout of the process. Empty string means no timeout. Accepted formats: '1s', '5m', '24h'
-to-sha string
The flag to set toSHA value. Accepted values: SHA-1 hash
-traversal-ids string
The flag to index the traversal_ids into ES. Accepted formats: '5-1-6-'
-version
Print the version and exit
-visibility-level int
Project or Group visibility_access_level. Accepted values: 0, 10, 20 (default -1)
-wiki-access-level int
Wiki repository_access_level. Accepted values: 0, 10, 20 (default -1)
Options (25)
| Option | Description | Source |
|---|
-archived string | The project is archived or not | help |
-blob-type string | The type of blobs to index. | help |
-commit-traversal-ids-enabled | When true, traversal_ids is written onto commit documents | help |
-from-sha string | The flag to set fromSHA value. | help |
-full-path string | Full path | help |
-group-id int | Group ID (default -1) | help |
-hashed-root-namespace-id int | The hashed root namespace id (default -1) | help |
-organization-fields-enabled-blob | When true, organization fields are written onto blob documents | help |
-organization-fields-enabled-commit | When true, organization fields are written onto commit documents | help |
-organization-fields-enabled-wiki | When true, organization fields are written onto wiki_blob documents | help |
-organization-id int | The organization the repository belongs to. | help |
-organization-traversal-ids string | The flag to index organization_traversal_ids into ES. | help |
-project-id int | Project ID (default -1) | help |
-repository-access-level int | Project repository_access_level. | help |
-schema-version-blob int | The value of schema_version for blob. | help |
-schema-version-commit int | The value of schema_version for commit. | help |
-schema-version-wiki int | The value of schema_version for wiki. | help |
-skip-blobs | Skips indexing blobs for the repo | help |
-skip-commits | Skips indexing commits for the repo | help |
-timeout string | The timeout of the process. | help |
-to-sha string | The flag to set toSHA value. | help |
-traversal-ids string | The flag to index the traversal_ids into ES. | help |
-version | Print the version and exit | help |
-visibility-level int | Project or Group visibility_access_level. | help |
-wiki-access-level int | Wiki repository_access_level. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.