assembler index cli command
docs-builder assembler index [options]
Index the assembled documentation into Elasticsearch.
--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.
--environmentstring- Named deployment target; becomes part of the Elasticsearch index name.
-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
Runs an assembler build with only the Elasticsearch exporter enabled, then streams documents to the cluster. The index name is derived from the environment name.
Run after assembler build or use instead of it when indexing is the only goal.