package elastic4s
- Alphabetic
- Public
- All
Type Members
- case class Adjustment(value: Int, unit: TimeUnit) extends Product with Serializable
- trait AggReader[T] extends AnyRef
- case class ArrayFieldValue(name: String, values: Seq[FieldValue]) extends FieldValue with Product with Serializable
- sealed trait DistanceUnit extends AnyRef
- case class DocumentRef(index: String, type: String, id: String) extends Product with Serializable
- trait ElasticApi extends ElasticImplicits with AliasesApi with AggregationApi with AnalyzerApi with BulkApi with CatsApi with CreateIndexApi with ClusterApi with CollapseApi with CountApi with DeleteApi with DeleteIndexApi with DynamicTemplateApi with ExistsApi with ExplainApi with ForceMergeApi with GetApi with HighlightApi with IndexApi with IndexAdminApi with IndexRecoveryApi with IndexTemplateApi with LocksApi with MappingApi with NodesApi with NormalizerApi with QueryApi with PipelineAggregationApi with ReindexApi with ScriptApi with ScoreApi with ScrollApi with SearchApi with SearchTemplateApi with SettingsApi with SnapshotApi with SortApi with SuggestionApi with TaskApi with TermVectorApi with TokenizerApi with TokenFilterApi with TypesApi with UpdateApi with ValidateApi
-
trait
ElasticDate extends AnyRef
Implementations of this trait are used to represent dates and date math in elasticsearch requests.
Implementations of this trait are used to represent dates and date math in elasticsearch requests.
see https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math
There are three types of elastic date you can create.
The first is just a wrapped string with no extra help: UnparsedElasticDate("mydate||/d")
The second is a wrapped timestamp: TimestampElasticDate(1113232321L)
The third and most useful is the ElasticDateMath which allows you to programatically add or subtract values, as well as add a rounding, and it will create the appropriate date string for you. For example, ElasticDate.now.minus(3, Months).add(1, Days).rounding(Weeks)
- case class ElasticDateMath(base: String, adjustments: Seq[Adjustment] = Nil, rounding: Option[TimeUnit] = None) extends ElasticDate with Product with Serializable
- 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
To use HTTPS when using the HTTP client, add ssl=true to the query parameters.
- trait ExistsApi extends AnyRef
- case class ExistsRequest(id: String, index: Index, type: String) extends Product with Serializable
- case class FetchSourceContext(fetchSource: Boolean, includes: Array[String] = Array.empty, excludes: Array[String] = Array.empty) extends Product with Serializable
- trait FieldValue extends AnyRef
- trait FieldValueWriter[T <: FieldValue] extends AnyRef
- sealed trait HealthStatus extends AnyRef
-
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 Index(name: String) extends Product with Serializable
-
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
- case class NestedFieldValue(name: Option[String], values: Seq[FieldValue]) extends FieldValue with Product with Serializable
- case class NullFieldValue(name: String) extends FieldValue with Product with Serializable
- sealed trait Operator extends AnyRef
- abstract class Preference extends AnyRef
- sealed trait Priority extends AnyRef
- sealed trait RefreshPolicy extends AnyRef
- trait Show[T] extends Serializable
- case class SimpleFieldValue(name: Option[String], value: Any) extends FieldValue with Product with Serializable
- case class Slice(id: String, max: Long) extends Product with Serializable
- abstract class TimeUnit extends AnyRef
- case class TimestampElasticDate(timestamp: Long) extends ElasticDate with Product with Serializable
- trait TypesApi extends AnyRef
- case class UnparsedElasticDate(value: String) extends ElasticDate with Product with Serializable
- sealed trait ValueType extends AnyRef
- sealed trait VersionType extends AnyRef
Value Members
- object Days extends TimeUnit with Product with Serializable
- object DistanceUnit
- object ElasticApi extends ElasticApi
- object ElasticDate
- object ElasticImplicits extends ElasticImplicits
- object ElasticsearchClientUri extends Serializable
-
object
FieldsMapper
Converts between scala types and types that Elasticsearch understands.
- object HealthStatus
- object Hours extends TimeUnit with Product with Serializable
- object Index extends Serializable
- object IndexAndType extends Serializable
- object IndexAndTypes extends Serializable
- object Indexes extends Serializable
- object IndexesAndType extends Serializable
- object IndexesAndTypes extends Serializable
- object Minutes extends TimeUnit with Product with Serializable
- object Months extends TimeUnit with Product with Serializable
- object NestedFieldValue extends Serializable
- object Operator
- object Preference
- object Priority
- object RefreshPolicy
- object Seconds extends TimeUnit with Product with Serializable
- object Show extends Serializable
- object SimpleFieldValue extends Serializable
- object ValueType
- object VersionType
- object Weeks extends TimeUnit with Product with Serializable
- object XContentFieldValueWriter
- object Years extends TimeUnit with Product with Serializable