(Since version 1.3.0) Use .await() on future of async client
Executes a Scala DSL get and returns a scala Future with the GetResponse.
Executes a Scala DSL get and returns a scala Future with the GetResponse.
a GetDefinition from the Scala DSL
a Future providing an GetResponse
Executes a Java API GetRequest and returns a scala Future with the GetResponse.
Executes a Java API GetRequest and returns a scala Future with the GetResponse.
a GetRequest from the Java client
a Future providing an GetResponse
Executes a Java API CountRequest and returns a scala Future with the CountResponse.
Executes a Java API CountRequest and returns a scala Future with the CountResponse.
a CountRequest from the Java client
a Future providing an CountResponse
Executes a Java API SearchRequest and returns a scala Future with the SearchResponse.
Executes a Java API SearchRequest and returns a scala Future with the SearchResponse.
a SearchRequest from the Java clientl
a Future providing an SearchResponse
Indexes a Java IndexRequest and returns a scala Future with the IndexResponse.
Indexes a Java IndexRequest and returns a scala Future with the IndexResponse.
an IndexRequest from the Java client
a Future providing an IndexResponse
(Since version 1.3) Use bulk dsl with execute method
(Since version 1.4.4) use the dsl syntax, client execute { delete mapping index / type }
(Since version 1.4.4) use the dsl syntax, client execute { put mapping index / type as {...} }
(Since version 1.3.0) Use .await() on future of async client