IMPORTANT: elasticsearch.js has been replaced by the new Elasticsearch JavaScript client. We strongly advise you to migrate to the new client. To learn more, see the migration guide.
API Param Types
editAPI Param Types
editThe 7.6 API describes the type that each parameter accepts, this reference describes each of those types in more a little more detail.
— |
|
— A basic JavaScript number. |
|
— A basic JavaScript String. |
|
— An array of strings. |
|
— A JSON serializable object. |
|
— An array of JSON serializable objects. |
|
— A string or |
|
— A string or |
|
— A string that represents a duration of time with a number followed by an elasticsearch time unit. |