NewDefaultClient creates a new client with default options. It will use http://localhost:9200 as the default address. It will use the ELASTICSEARCH_URL environment variable, if set, to configure the addresses; use a comma to separate multiple URLs. Deprecated: Use [New] with no arguments instead.
()
| 224 | // |
| 225 | // Deprecated: Use [New] with no arguments instead. |
| 226 | func NewDefaultClient() (*Client, error) { |
| 227 | return NewClient(Config{}) |
| 228 | } |
| 229 | |
| 230 | // NewClient creates a new client with configuration from cfg. |
| 231 | // |
nothing calls this directly
no test coverage detected