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

    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.

  11. trait ExistsApi extends AnyRef

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

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

    Permalink
  14. trait FieldValue extends AnyRef

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

    Permalink
  16. sealed trait HealthStatus extends AnyRef

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

  18. trait HitReader[T] extends AnyRef

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

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

    Permalink

    Models exactly one index associated with exactly one type.

  21. 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

  22. 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

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

    Permalink

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

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

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

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

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

    Permalink
  28. sealed trait Operator extends AnyRef

    Permalink
  29. abstract class Preference extends AnyRef

    Permalink
  30. sealed trait Priority extends AnyRef

    Permalink
  31. sealed trait RefreshPolicy extends AnyRef

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

    Permalink
  33. abstract class TimeUnit extends AnyRef

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

    Permalink
  35. trait TypesApi extends AnyRef

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

    Permalink
  37. sealed trait ValueType extends AnyRef

    Permalink
  38. sealed trait VersionType extends AnyRef

    Permalink

Value Members

  1. object Days extends TimeUnit with Product with Serializable

    Permalink
  2. object DefinitionAttributes

    Permalink
  3. object DistanceUnit

    Permalink
  4. object ElasticApi extends ElasticApi

    Permalink
  5. object ElasticDate

    Permalink
  6. object ElasticImplicits extends ElasticImplicits

    Permalink
  7. object ElasticsearchClientUri extends Serializable

    Permalink
  8. object FieldsMapper

    Permalink

    Converts between scala types and types that Elasticsearch understands.

  9. object HealthStatus

    Permalink
  10. object Hours extends TimeUnit with Product with Serializable

    Permalink
  11. object Index extends Serializable

    Permalink
  12. object IndexAndType extends Serializable

    Permalink
  13. object IndexAndTypes extends Serializable

    Permalink
  14. object Indexes extends Serializable

    Permalink
  15. object IndexesAndType extends Serializable

    Permalink
  16. object IndexesAndTypes extends Serializable

    Permalink
  17. object Minutes extends TimeUnit with Product with Serializable

    Permalink
  18. object Months extends TimeUnit with Product with Serializable

    Permalink
  19. object NestedFieldValue extends Serializable

    Permalink
  20. object Operator

    Permalink
  21. object Preference

    Permalink
  22. object Priority

    Permalink
  23. object RefreshPolicy

    Permalink
  24. object Seconds extends TimeUnit with Product with Serializable

    Permalink
  25. object SimpleFieldValue extends Serializable

    Permalink
  26. object ValueType

    Permalink
  27. object VersionType

    Permalink
  28. object Weeks extends TimeUnit with Product with Serializable

    Permalink
  29. object XContentFieldValueWriter

    Permalink
  30. object Years extends TimeUnit with Product with Serializable

    Permalink
  31. package admin

    Permalink
  32. package alias

    Permalink
  33. package analyzers

    Permalink
  34. package bulk

    Permalink
  35. package cat

    Permalink
  36. package cluster

    Permalink
  37. package count

    Permalink
  38. package delete

    Permalink
  39. package explain

    Permalink
  40. package get

    Permalink
  41. package indexes

    Permalink
  42. package json

    Permalink
  43. package locks

    Permalink
  44. package mappings

    Permalink
  45. package nodes

    Permalink
  46. package reindex

    Permalink
  47. package script

    Permalink
  48. package searches

    Permalink
  49. package settings

    Permalink
  50. package snapshots

    Permalink
  51. package task

    Permalink
  52. package termvectors

    Permalink
  53. package update

    Permalink
  54. package validate

    Permalink

Ungrouped