OS Manuals

/usr/bin/gitlab-elasticsearch-indexer

Indexes Git repositories into Elasticsearch for GitLab Advanced Search (FIPS)

From gitlab-elasticsearch-indexer-fips 5.16.0-r1 (enterprise-packages), captured 2026-11-08 by running gitlab-elasticsearch-indexer --help (exit 0). permalink

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)
OptionDescriptionSource
-archived stringThe project is archived or nothelp
-blob-type stringThe type of blobs to index.help
-commit-traversal-ids-enabledWhen true, traversal_ids is written onto commit documentshelp
-from-sha stringThe flag to set fromSHA value.help
-full-path stringFull pathhelp
-group-id intGroup ID (default -1)help
-hashed-root-namespace-id intThe hashed root namespace id (default -1)help
-organization-fields-enabled-blobWhen true, organization fields are written onto blob documentshelp
-organization-fields-enabled-commitWhen true, organization fields are written onto commit documentshelp
-organization-fields-enabled-wikiWhen true, organization fields are written onto wiki_blob documentshelp
-organization-id intThe organization the repository belongs to.help
-organization-traversal-ids stringThe flag to index organization_traversal_ids into ES.help
-project-id intProject ID (default -1)help
-repository-access-level intProject repository_access_level.help
-schema-version-blob intThe value of schema_version for blob.help
-schema-version-commit intThe value of schema_version for commit.help
-schema-version-wiki intThe value of schema_version for wiki.help
-skip-blobsSkips indexing blobs for the repohelp
-skip-commitsSkips indexing commits for the repohelp
-timeout stringThe timeout of the process.help
-to-sha stringThe flag to set toSHA value.help
-traversal-ids stringThe flag to index the traversal_ids into ES.help
-versionPrint the version and exithelp
-visibility-level intProject or Group visibility_access_level.help
-wiki-access-level intWiki 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.