Uri used to connect to an Elasticsearch cluster.
Typeclass to execute a search for a given type of Elasticsearch request.
Typeclass to execute a search for a given type of Elasticsearch request.
is the elastic4s request definition type
is the type returned by the Elasticsearch java client for this type.
is the type returned by Elastic4s to the user for this request type. If the particular implementation of this typeclass doesn't return a pimped/scala/rich response type, then R and Q will be the same.
A common trait for Get, MultiGet, Search and MultiSearch API results so that the HitReader typeclass can unmarshall results from any of those.
Models exactly one index associated with exactly one type.
Models one index associated with one or more types.
Models one index associated with one or more types.
So for example, - index1/type1 - index1/type1,type2
A Typeclass that is used by index requests to convert a type into a document for use by Elasticsearch
Models one or more indexes, eg - "index1" - "index1,index2" - "_all"
Models one or more indexes associated with zero or more types.
Models one or more indexes associated with zero or more types.
So for example, - index1 - index1/index2 - index1/type1 - index1/type1,type2 - index1,index2/type1 - index1,index2/type1,type2
A typeclass to provide a json representation of a request.
A typeclass to provide a json representation of a request. Not all requests can be shown.
(Since version 5.0.0) use Reader which supports unmarshalling from both get and search requests, and handles errors
Converts between scala types and types that Elasticsearch understands.
Uri used to connect to an Elasticsearch cluster. The general format is
elasticsearch://host:port,host:port?querystring
Multiple host:port combinations can be specified, seperated by commas. Options can be specified using standard uri query string syntax, eg cluster.name=superman