p

com.sksamuel

elastic4s

package elastic4s

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class Adjustment(value: Int, unit: TimeUnit) extends Product with Serializable
  2. trait AggReader[T] extends AnyRef
  3. case class ArrayFieldValue(name: String, values: Seq[FieldValue]) extends FieldValue with Product with Serializable
  4. sealed trait DistanceUnit extends AnyRef
  5. case class DocumentRef(index: String, type: String, id: String) extends Product with Serializable
  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
  7. 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)

  8. case class ElasticDateMath(base: String, adjustments: Seq[Adjustment] = Nil, rounding: Option[TimeUnit] = None) extends ElasticDate with Product with Serializable
  9. trait ElasticImplicits extends AnyRef
  10. 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.

  11. trait ExistsApi extends AnyRef
  12. case class ExistsRequest(id: String, index: Index, type: String) extends Product with Serializable
  13. case class FetchSourceContext(fetchSource: Boolean, includes: Array[String] = Array.empty, excludes: Array[String] = Array.empty) extends Product with Serializable
  14. trait FieldValue extends AnyRef
  15. trait FieldValueWriter[T <: FieldValue] extends AnyRef
  16. sealed trait HealthStatus extends AnyRef
  17. 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.

  18. trait HitReader[T] extends AnyRef
  19. case class Index(name: String) extends Product with Serializable
  20. case class IndexAndType(index: String, type: String) extends Product with Serializable

    Models exactly one index associated with exactly one type.

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

  22. trait Indexable[T] extends AnyRef

    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

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

  24. case class IndexesAndType(indexes: Seq[String], type: String) extends Product with Serializable
  25. 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

  26. case class NestedFieldValue(name: Option[String], values: Seq[FieldValue]) extends FieldValue with Product with Serializable
  27. case class NullFieldValue(name: String) extends FieldValue with Product with Serializable
  28. sealed trait Operator extends AnyRef
  29. abstract class Preference extends AnyRef
  30. sealed trait Priority extends AnyRef
  31. sealed trait RefreshPolicy extends AnyRef
  32. trait Show[T] extends Serializable
  33. case class SimpleFieldValue(name: Option[String], value: Any) extends FieldValue with Product with Serializable
  34. case class Slice(id: String, max: Long) extends Product with Serializable
  35. abstract class TimeUnit extends AnyRef
  36. case class TimestampElasticDate(timestamp: Long) extends ElasticDate with Product with Serializable
  37. trait TypesApi extends AnyRef
  38. case class UnparsedElasticDate(value: String) extends ElasticDate with Product with Serializable
  39. sealed trait ValueType extends AnyRef
  40. sealed trait VersionType extends AnyRef

Value Members

  1. object Days extends TimeUnit with Product with Serializable
  2. object DistanceUnit
  3. object ElasticApi extends ElasticApi
  4. object ElasticDate
  5. object ElasticImplicits extends ElasticImplicits
  6. object ElasticsearchClientUri extends Serializable
  7. object FieldsMapper

    Converts between scala types and types that Elasticsearch understands.

  8. object HealthStatus
  9. object Hours extends TimeUnit with Product with Serializable
  10. object Index extends Serializable
  11. object IndexAndType extends Serializable
  12. object IndexAndTypes extends Serializable
  13. object Indexes extends Serializable
  14. object IndexesAndType extends Serializable
  15. object IndexesAndTypes extends Serializable
  16. object Minutes extends TimeUnit with Product with Serializable
  17. object Months extends TimeUnit with Product with Serializable
  18. object NestedFieldValue extends Serializable
  19. object Operator
  20. object Preference
  21. object Priority
  22. object RefreshPolicy
  23. object Seconds extends TimeUnit with Product with Serializable
  24. object Show extends Serializable
  25. object SimpleFieldValue extends Serializable
  26. object ValueType
  27. object VersionType
  28. object Weeks extends TimeUnit with Product with Serializable
  29. object XContentFieldValueWriter
  30. object Years extends TimeUnit with Product with Serializable

Ungrouped