Files
elasticsearch-js/docs/reference/api/NodeOptions.md
2025-05-27 15:30:21 -05:00

726 B

Interface NodeOptions

Name Type Description
agent HttpAgentOptions UndiciAgentOptions
headers Record<string, any> headers Custom HTTP headers that should be sent with each request
id string  
roles { master: boolean; data: boolean; ingest: boolean; ml: boolean; } roles Common Elasticsearch roles that can be assigned to this node. Can be helpful when writing custom nodeFilter or nodeSelector functions.
ssl TlsConnectionOptions ssl Overrides default TLS connection settings
url URL url Elasticsearch node's location