Package

com.sksamuel

elastic4s

Permalink

package elastic4s

Visibility
  1. Public
  2. All

Type Members

  1. case class Adjustment(value: Int, unit: TimeUnit) extends Product with Serializable

    Permalink
  2. trait AggReader[T] extends AnyRef

    Permalink
  3. case class ArrayFieldValue(name: String, values: Seq[FieldValue]) extends FieldValue with Product with Serializable

    Permalink
  4. sealed trait DistanceUnit extends AnyRef

    Permalink
  5. case class DocumentRef(index: String, type: String, id: String) extends Product with Serializable

    Permalink
  6. 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

    Permalink
  7. trait ElasticDate extends AnyRef

    Permalink

    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)

  8. case class ElasticDateMath(base: String, adjustments: Seq[Adjustment] = Nil, rounding: Option[TimeUnit] = None) extends ElasticDate with Product with Serializable

    Permalink
  9. trait ElasticImplicits extends AnyRef

    Permalink
  10. trait ExistsApi extends AnyRef

    Permalink
  11. case class ExistsRequest(id: String, index: Index, type: String) extends Product with Serializable

    Permalink
  12. case class FetchSourceContext(fetchSource: Boolean, includes: Array[String] = Array.empty, excludes: Array[String] = Array.empty) extends Product with Serializable

    Permalink
  13. trait FieldValue extends AnyRef

    Permalink
  14. trait FieldValueWriter[T <: FieldValue] extends AnyRef

    Permalink
  15. sealed trait HealthStatus extends AnyRef

    Permalink
  16. trait Hit extends AnyRef

    Permalink

    A common trait for Get, MultiGet, Search and MultiSearch API results so that the HitReader typeclass can unmarshall results from any of those.

  17. trait HitReader[T] extends AnyRef

    Permalink
  18. case class Index(name: String) extends Product with Serializable

    Permalink
  19. case class IndexAndType(index: String, type: String) extends Product with Serializable

    Permalink

    Models exactly one index associated with exactly one type.

  20. case class IndexAndTypes(index: String, types: Seq[String]) extends Product with Serializable

    Permalink

    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

  21. trait Indexable[T] extends AnyRef

    Permalink

    A Typeclass that is used by index requests to convert a type into a document for use by Elasticsearch

  22. case class Indexes(values: Seq[String]) extends Product with Serializable

    Permalink

    Models one or more indexes, eg - "index1" - "index1,index2" - "_all"

  23. case class IndexesAndType(indexes: Seq[String], type: String) extends Product with Serializable

    Permalink
  24. case class IndexesAndTypes(indexes: Seq[String], types: Seq[String]) extends Product with Serializable

    Permalink

    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

  25. case class NestedFieldValue(name: Option[String], values: Seq[FieldValue]) extends FieldValue with Product with Serializable

    Permalink
  26. case class NullFieldValue(name: String) extends FieldValue with Product with Serializable

    Permalink
  27. sealed trait Operator extends AnyRef

    Permalink
  28. abstract class Preference extends AnyRef

    Permalink
  29. sealed trait Priority extends AnyRef

    Permalink
  30. sealed trait RefreshPolicy extends AnyRef

    Permalink
  31. trait Show[T] extends Serializable

    Permalink
  32. case class SimpleFieldValue(name: Option[String], value: Any) extends FieldValue with Product with Serializable

    Permalink
  33. case class Slice(id: String, max: Long) extends Product with Serializable

    Permalink
  34. abstract class TimeUnit extends AnyRef

    Permalink
  35. case class TimestampElasticDate(timestamp: Long) extends ElasticDate with Product with Serializable

    Permalink
  36. trait TypesApi extends AnyRef

    Permalink
  37. case class UnparsedElasticDate(value: String) extends ElasticDate with Product with Serializable

    Permalink
  38. sealed trait ValueType extends AnyRef

    Permalink
  39. sealed trait VersionType extends AnyRef

    Permalink
  40. case class ElasticsearchClientUri(uri: String, hosts: List[(String, Int)], options: Map[String, String] = Map.empty) extends Product with Serializable

    Permalink

    Uri used to connect to an Elasticsearch cluster.

    Uri used to connect to an Elasticsearch cluster. The general format is

    http(s)://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.

    Annotations
    @deprecated
    Deprecated

    (Since version 6.3.3) Use ElasticNodeEndpoint

Value Members

  1. object Days extends TimeUnit with Product with Serializable

    Permalink
  2. object DistanceUnit

    Permalink
  3. object ElasticApi extends ElasticApi

    Permalink
  4. object ElasticDate

    Permalink
  5. object ElasticImplicits extends ElasticImplicits

    Permalink
  6. object FieldsMapper

    Permalink

    Converts between scala types and types that Elasticsearch understands.

  7. object HealthStatus

    Permalink
  8. object Hours extends TimeUnit with Product with Serializable

    Permalink
  9. object Index extends Serializable

    Permalink
  10. object IndexAndType extends Serializable

    Permalink
  11. object IndexAndTypes extends Serializable

    Permalink
  12. object Indexes extends Serializable

    Permalink
  13. object IndexesAndType extends Serializable

    Permalink
  14. object IndexesAndTypes extends Serializable

    Permalink
  15. object Minutes extends TimeUnit with Product with Serializable

    Permalink
  16. object Months extends TimeUnit with Product with Serializable

    Permalink
  17. object NestedFieldValue extends Serializable

    Permalink
  18. object Operator

    Permalink
  19. object Preference

    Permalink
  20. object Priority

    Permalink
  21. object RefreshPolicy

    Permalink
  22. object Seconds extends TimeUnit with Product with Serializable

    Permalink
  23. object Show extends Serializable

    Permalink
  24. object SimpleFieldValue extends Serializable

    Permalink
  25. object ValueType

    Permalink
  26. object VersionType

    Permalink
  27. object Weeks extends TimeUnit with Product with Serializable

    Permalink
  28. object XContentFieldValueWriter

    Permalink
  29. object Years extends TimeUnit with Product with Serializable

    Permalink
  30. package admin

    Permalink
  31. package alias

    Permalink
  32. package analyzers

    Permalink
  33. package bulk

    Permalink
  34. package cat

    Permalink
  35. package cluster

    Permalink
  36. package count

    Permalink
  37. package delete

    Permalink
  38. package explain

    Permalink
  39. package get

    Permalink
  40. package indexes

    Permalink
  41. package json

    Permalink
  42. package locks

    Permalink
  43. package mappings

    Permalink
  44. package nodes

    Permalink
  45. package reindex

    Permalink
  46. package script

    Permalink
  47. package searches

    Permalink
  48. package settings

    Permalink
  49. package snapshots

    Permalink
  50. package task

    Permalink
  51. package termvectors

    Permalink
  52. package update

    Permalink
  53. package validate

    Permalink

Deprecated Value Members

  1. object ElasticsearchClientUri extends Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.3.3) Use ElasticNodeEndpoint

Ungrouped