package elastic4s
- Alphabetic
- Public
- All
Type Members
- case class DocumentRef (index: String, type: String, id: String) extends Product with Serializable
- trait ElasticClient extends AnyRef
- trait ElasticDsl extends AliasesDsl with AggregationDsl with AnalyzerDsl with BulkDsl with ClusterDsl with CreateIndexDsl with DeleteIndexDsl with DeleteDsl with DynamicTemplateDsl with ExplainDsl with FieldStatsDsl with ForceMergeDsl with GetDsl with IndexDsl with IndexAdminDsl with IndexRecoveryDsl with IndexTemplateDsl with MappingDsl with MultiGetApi with PercolateDsl with PipelineAggregationDsl with ReindexDsl with ScriptDsl with SearchDsl with SettingsDsl with ScoreDsl with ScrollDsl with SortDsl with SnapshotDsl with SuggestionDsl with TaskApi with TermVectorDsl with TokenizerDsl with TokenFilterDsl with UpdateDsl with ValidateDsl with ElasticImplicits
- trait ElasticImplicits extends AnyRef
-
case class
ElasticsearchClientUri
(uri: String, hosts: List[(String, Int)], options: Map[String, String] = Map.empty) extends Product with Serializable
Uri used to connect to an Elasticsearch cluster.
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
-
trait
Executable
[T, R, Q] extends AnyRef
Typeclass to execute a search for a given type of Elasticsearch request.
Typeclass to execute a search for a given type of Elasticsearch request.
- T
is the elastic4s request definition type
- R
is the type returned by the Elasticsearch java client for this type.
- Q
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.
-
trait
Hit
extends AnyRef
A common trait for Get, MultiGet, Search and MultiSearch API results so that the HitReader typeclass can unmarshall results from any of those.
- trait HitReader [T] extends AnyRef
-
case class
IndexAndType
(index: String, type: String) extends Product with Serializable
Models exactly one index associated with exactly one type.
-
case class
IndexAndTypes
(index: String, types: Seq[String]) extends Product with Serializable
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
-
trait
Indexable
[T] extends AnyRef
A Typeclass that is used by index requests to convert a type into a document for use by Elasticsearch
-
case class
Indexes
(values: Seq[String]) extends Product with Serializable
Models one or more indexes, eg - "index1" - "index1,index2" - "_all"
- case class IndexesAndType (indexes: Seq[String], type: String) extends Product with Serializable
-
case class
IndexesAndTypes
(indexes: Seq[String], types: Seq[String]) extends Product with Serializable
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
- abstract class Preference extends AnyRef
-
trait
Show
[T] extends Serializable
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.
-
trait
HitAs
[T] extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 5.0.0) use Reader which supports unmarshalling from both get and search requests, and handles errors
Value Members
- object DefinitionAttributes
- object ElasticClient extends Logging
- object ElasticDsl extends ElasticDsl
- object ElasticImplicits extends ElasticImplicits
- object ElasticsearchClientUri extends Serializable
-
object
FieldsMapper
Converts between scala types and types that Elasticsearch understands.
- object IndexAndType extends Serializable
- object IndexAndTypes extends Serializable
- object Indexes extends Serializable
- object IndexesAndType extends Serializable
- object IndexesAndTypes extends Serializable
- object Preference
- object ProxyClients