codex index cli command
docs-builder codex index <config> [options]
Index the built portal documentation into Elasticsearch.
<config>stringrequired-
Path to the codex.yml configuration file.
Constraints: symbolic links not allowed, must exist, extensions: yml, yaml, supports
~home expansion
--endpointstring-
-es,--endpoint, Elasticsearch endpoint URL. Falls back to env DOCUMENTATION_ELASTIC_URL.
Constraints: must be a http or https URI
--api-keystring- API key for authentication. Falls back to env DOCUMENTATION_ELASTIC_APIKEY.
--usernamestring- Username for basic authentication. Falls back to env DOCUMENTATION_ELASTIC_USERNAME.
--passwordstring- Password for basic authentication. Falls back to env DOCUMENTATION_ELASTIC_PASSWORD.
--[no-]ai-enrichment- Enable AI enrichment of documents using LLM-generated metadata (enabled by default).
--search-num-threadsint-
Number of search threads for the inference endpoint.
Constraints: between 1 and 128
--index-num-threadsint-
Number of index threads for the inference endpoint.
Constraints: between 1 and 128
--[no-]eis- Use the Elastic Inference Service to bootstrap the inference endpoint (enabled by default).
--bootstrap-timeoutstring-
How long to wait for the inference endpoint to become ready (e.g. 4m, 90s).
Constraints: duration between "1s" and "60m"
--[no-]force-reindex- Force a full reindex, discarding any incremental state.
--buffer-sizeint-
Number of documents per bulk request.
Constraints: between 1 and 10000
--max-retriesint-
Number of retry attempts for failed bulk items.
Constraints: between 0 and 20
--[no-]debug-mode- Log every Elasticsearch request and response body; append ?pretty to all requests.
--proxy-addressstring-
Route requests through this proxy URL.
Constraints: must be a http or https URI
--proxy-usernamestring- Proxy server username.
--proxy-passwordstring- Proxy server password.
--[no-]disable-ssl-verification- Disable SSL certificate validation. Use only in controlled environments.
--certificate-fingerprintstring- SHA-256 fingerprint of a self-signed server certificate.
--certificate-pathstring-
Path to a PEM or DER certificate file for SSL validation.
Constraints: symbolic links not allowed, must exist, extensions: pem, der, crt, cer, supports
~home expansion --[no-]certificate-not-root- Set when the certificate is an intermediate CA rather than the root.
-l--log-levelenum-
Minimum log level.
Values: trace, debug, information, warning, error, critical, none
Default:
information -c--config-sourceenum-
Override the configuration source: local, remote
Values: local, remote, embedded
--[no-]skip-private-repositories-
Skip cloning private repositories