Class/Object

elastic.client

ElasticClient

Related Docs: object ElasticClient | package client

Permalink

class ElasticClient[JsonR] extends Elastic[JsonR]

Created by adelegue on 12/04/2016.

Linear Supertypes
Elastic[JsonR], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticClient
  2. Elastic
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticClient(server: Uri, credentials: Option[Authorization] = None)(implicit actorSystem: ActorSystem)

    Permalink

Type Members

  1. case class EsIndex(name: String, type: Option[String] = None) extends Index[JsonR] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aggregation[Q](index: Seq[String], type: Seq[String], query: Q, from: Option[Int], size: Option[Int], search_type: Option[SearchType], request_cache: Boolean, terminate_after: Option[Int], timeout: Option[Int])(implicit qWrites: Writer[Q, String], respReads: Reader[String, SearchResponse[JsonR]], jsonReader: Reader[String, JsonR], ec: ExecutionContext): Future[SearchResponse[JsonR]]

    Permalink

    Aggregation operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html

    Aggregation operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html

    Q

    query object type

    index

    name of the index

    query

    the query to execute

    from

    The starting from index of the hits to return. Defaults to 0

    size

    The number of hits to return. Defaults to 10

    search_type

    The type of the search operation to perform

    request_cache

    Set to true or false to enable or disable the caching of search results for requests

    terminate_after

    The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early

    timeout

    A search timeout, bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.

    qWrites

    Query to json object conversion

    jsonReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.SearchResponse

    Definition Classes
    ElasticClientElastic
  5. def analyse[Q](index: Option[String], query: Q)(implicit mWrites: Writer[Q, JsonR], jWrites: Writer[JsonR, String], sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Analyse of query.

    Analyse of query.

    Q

    query type

    query

    the query to analyse

    jWrites

    Json object to json string conversion

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    Json object

    Definition Classes
    ElasticClientElastic
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def bulk[D](index: Option[String], type: Option[String], publisher: Publisher[Bulk[D]], batchSize: Int)(implicit qWrites: Writer[JsonR, String], docWriter: Writer[D, JsonR], bulkOpWriter: Writer[BulkOpType, JsonR], sReader: Reader[String, JsonR], bReader: Reader[JsonR, BulkResponse[JsonR]], ec: ExecutionContext): Publisher[BulkResponse[JsonR]]

    Permalink

    Bulk operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

    Bulk operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

    D

    the type of the document

    index

    name of the index

    publisher

    a org.reactivestreams.Publisher (see reactive streams) of elastic.api.Bulk

    batchSize

    the size of the packet of bulk operations to send to elastic

    docWriter

    document to json object conversion

    bulkOpWriter

    elastic.api.Bulk to json object conversion

    sReader

    string to json object conversion

    bReader

    json object to elastic.api.BulkResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a org.reactivestreams.Publisher (see reactive streams) of elastic.api.BulkResponse

    Definition Classes
    ElasticClientElastic
  8. def bulkFlow[D](index: Option[String], type: Option[String], batchSize: Int)(implicit sWrites: Writer[JsonR, String], docWriter: Writer[D, JsonR], bulkOpWriter: Writer[BulkOpType, JsonR], sReader: Reader[String, JsonR], bReader: Reader[JsonR, BulkResponse[JsonR]], ec: ExecutionContext): Flow[Bulk[D], BulkResponse[JsonR], NotUsed]

    Permalink

    A akka stream flow to bulk datas.

    A akka stream flow to bulk datas.

    D

    the type of the document

    index

    name of the index

    batchSize

    the size of the packet of bulk operations to send to elastic

    sWrites

    json to string conversion

    docWriter

    document to json object conversion

    bulkOpWriter

    elastic.api.Bulk to json object conversion

    sReader

    string to json object conversion

    bReader

    json object to elastic.api.BulkResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a akka.stream.scaladsl.Flow that ingest elastic.api.Bulk and out elastic.api.BulkResponse

    Definition Classes
    ElasticClientElastic
  9. def clearCache(indexes: Seq[String])(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-clearcache.html

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-clearcache.html

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json object of the response

    Definition Classes
    ElasticClientElastic
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createAliases[S](settings: S)(implicit mWrites: Writer[S, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Aliases creation

    Aliases creation

    S

    alias settings type

    settings

    of the aliases

    mWrites

    settings to string conversion

    sReader

    json string to json object conversion

    jsonReader

    json to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    ElasticClientElastic
  12. def createIndex[S](name: String, settings: Option[S])(implicit mWrites: Writer[S, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Index creation

    Index creation

    S

    settings type

    name

    of the index

    settings

    of the index

    mWrites

    settings to string conversion

    sReader

    json string to json object conversion

    jsonReader

    json to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    ElasticClientElastic
  13. def createIndex[S](name: String)(implicit mWrites: Writer[S, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Index creation

    Index creation

    S

    settings type

    name

    of the index

    mWrites

    settings to string conversion

    sReader

    json string to json object conversion

    jsonReader

    json to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    Elastic
  14. def createIndex[S](name: String, settings: S)(implicit mWrites: Writer[S, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Index creation

    Index creation

    S

    settings type

    name

    of the index

    settings

    of the index

    mWrites

    settings to string conversion

    sReader

    json string to json object conversion

    jsonReader

    json to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    Elastic
  15. def deleteIndex(name: String, type: Option[String])(implicit sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Delete index operation

    Delete index operation

    name

    name of the index

    sReader

    json string to json object conversion

    jsonReader

    json to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    ElasticClientElastic
  16. def deleteTemplate(name: String)(implicit sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Template deletion

    Template deletion

    name

    name of the template to delete

    sReader

    string to json object conversion

    jsonReader

    json object to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    an IndexOps object

    Definition Classes
    ElasticClientElastic
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def flush(indexes: Seq[String], wait_if_ongoing: Boolean = false, force: Boolean = false)(implicit sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexResponse[JsonR]], ec: ExecutionContext): Future[IndexResponse[JsonR]]

    Permalink

    Flush operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html

    Flush operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html

    wait_if_ongoing

    If set to true the flush operation will block until the flush can be executed if another flush operation is already executing.

    force

    Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index

    sReader

    json string to json object conversion

    jsonReader

    json object to elastic.api.IndexResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.IndexResponse

    Definition Classes
    ElasticClientElastic
  21. def forceMerge(indexes: Seq[String], max_num_segments: Option[Int], only_expunge_deletes: Boolean, flush: Boolean)(implicit sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexResponse[JsonR]], ec: ExecutionContext): Future[IndexResponse[JsonR]]

    Permalink

    Force merge operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html

    Force merge operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html

    max_num_segments

    The number of segments to merge to

    only_expunge_deletes

    Should the merge process only expunge segments with deletes in it.

    flush

    Should a flush be performed after the forced merge

    sReader

    json string to json object conversion

    jsonReader

    json object to elastic.api.IndexResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.IndexResponse response

    Definition Classes
    ElasticClientElastic
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getIndex(name: String)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Get the index

    Get the index

    name

    of the index

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    index as json object

    Definition Classes
    ElasticClientElastic
  24. def getMapping(index: String, type: String)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Return the mapping of the index and type

    Return the mapping of the index and type

    index

    name of the index

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    the mapping as json object

    Definition Classes
    ElasticClientElastic
  25. def getMapping(typeDefinition: TypeDefinition)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink
    Definition Classes
    Elastic
  26. def getMappings(index: Seq[String], type: Seq[String])(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Return the mappings definitions

    Return the mappings definitions

    index

    a Seq of index names

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    the mappings as json object

    Definition Classes
    ElasticClientElastic
  27. def getTemplate(name: String)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    get template

    get template

    name

    name of the template

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    Json representation of the template

    Definition Classes
    ElasticClientElastic
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def index(typeDefinition: TypeDefinition): Index[JsonR]

    Permalink

    Référence to the index

    Référence to the index

    typeDefinition

    the definiton of the index

    returns

    an Index référence.

    Definition Classes
    ElasticClientElastic
  30. def index(name: String, type: Option[String] = None): Index[JsonR]

    Permalink

    Référence to the index

    Référence to the index

    name

    of the index

    returns

    an Index référence.

    Definition Classes
    ElasticClientElastic
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def mget(index: Option[String] = None, type: Option[String] = None, request: MGets)(implicit sWriter: Writer[JsonR, String], jsonWriter: Writer[MGets, JsonR], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, MGetResponse[JsonR]], ec: ExecutionContext): Future[MGetResponse[JsonR]]

    Permalink

    Multiple get operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html

    Multiple get operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html

    index

    the name of the index

    request

    multiple get request : elastic.api.MGets

    sWriter

    json to string conversion

    jsonWriter

    elastic.api.MGets to json object conversion

    sReader

    string to json object conversion

    jsonReader

    json object to elastic.api.MGetResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.MGetResponse response

    Definition Classes
    ElasticClientElastic
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def oneBulk[D](index: Option[String], type: Option[String], bulk: Seq[Bulk[D]])(implicit sWrites: Writer[JsonR, String], docWriter: Writer[D, JsonR], bulkOpWriter: Writer[BulkOpType, JsonR], sReader: Reader[String, JsonR], bReader: Reader[JsonR, BulkResponse[JsonR]], ec: ExecutionContext): Future[BulkResponse[JsonR]]

    Permalink

    A atomic bulk opération see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

    A atomic bulk opération see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

    D

    the type of the document

    index

    name of the index

    bulk

    a Seq of elastic.api.Bulk to send in bulk

    sWrites

    json to string conversion

    docWriter

    document to json object conversion

    bulkOpWriter

    elastic.api.Bulk to json object conversion

    sReader

    string to json object conversion

    bReader

    json object to elastic.api.BulkResponse conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.BulkResponse

    Definition Classes
    ElasticClientElastic
  37. def putMapping[M](name: String, type: String, mapping: M, update_all_types: Boolean)(implicit mWrites: Writer[M, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Mapping modification

    Mapping modification

    M

    mapping type

    name

    name of the index

    mapping

    the mapping to update

    update_all_types

    to update all type if conflicts

    mWrites

    mapping to json string conversion

    sReader

    json string to json object conversion

    jsonReader

    json object to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    ElasticClientElastic
  38. def putMapping[M](typeDefinition: TypeDefinition, mapping: M, update_all_types: Boolean = false)(implicit mWrites: Writer[M, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    M

    mapping type

    mapping

    the mapping to update

    update_all_types

    to update all type if conflicts

    mWrites

    mapping to json string conversion

    sReader

    json string to json object conversion

    jsonReader

    json object to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    Elastic
  39. def putMapping[M](name: String, type: String, mapping: M)(implicit mWrites: Writer[M, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Mapping modification

    Mapping modification

    M

    mapping type

    name

    name of the index

    mapping

    the mapping to update

    mWrites

    mapping to json string conversion

    sReader

    json string to json object conversion

    jsonReader

    json object to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    IndexOps

    Definition Classes
    Elastic
  40. def putTemplate[T](name: String, template: T)(implicit mWrites: Writer[T, JsonR], jWrites: Writer[JsonR, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexOps], ec: ExecutionContext): Future[IndexOps]

    Permalink

    Add template with name

    Add template with name

    T

    template definition type

    name

    name of the template

    template

    template definition

    mWrites

    json to string conversion

    jWrites

    template to json object conversion

    sReader

    json object to string conversion

    jsonReader

    json object to IndexOps conversion

    ec

    ExecutionContext for future execution

    returns

    an IndexOps object

    Definition Classes
    ElasticClientElastic
  41. def recovery(indexes: Seq[String], detailed: Boolean, active_only: Boolean)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-recovery.html

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-recovery.html

    detailed

    detailed option

    active_only

    active_only option

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json representation of the response

    Definition Classes
    ElasticClientElastic
  42. def refresh(indexes: String*)(implicit sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, IndexResponse[JsonR]], ec: ExecutionContext): Future[IndexResponse[JsonR]]

    Permalink

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json object of the response

    Definition Classes
    ElasticClientElastic
  43. def scroll[Q](index: Seq[String] = Seq.empty, type: Seq[String] = Seq.empty, query: Q, scroll: String = "1m", size: Int = 20)(implicit qWrites: Writer[Q, String], jsonWriter: Writer[Scroll, JsonR], sWriter: Writer[JsonR, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, SearchResponse[JsonR]], ec: ExecutionContext): Source[SearchResponse[JsonR], NotUsed]

    Permalink

    The scroll search return a org.reactivestreams.Publisher (see reactives streams) of result.

    The scroll search return a org.reactivestreams.Publisher (see reactives streams) of result. All the result of the search are returned in an asynchronous stream.

    Q

    the query object type

    index

    name of the index

    query

    the query to execute

    qWrites

    Query to json object conversion

    sReader

    string to json conversion

    jsonReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a org.reactivestreams.Publisher (see reactive streams) of elastic.api.SearchResponse

    Definition Classes
    ElasticClientElastic
  44. def scrollPublisher[Q](index: Seq[String] = Seq.empty, type: Seq[String] = Seq.empty, query: Q, scroll: String = "1m", size: Int = 20)(implicit qWrites: Writer[Q, String], jsonWriter: Writer[Scroll, JsonR], sWriter: Writer[JsonR, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, SearchResponse[JsonR]], ec: ExecutionContext): Publisher[SearchResponse[JsonR]]

    Permalink

    The scroll search return a org.reactivestreams.Publisher (see reactives streams) of result.

    The scroll search return a org.reactivestreams.Publisher (see reactives streams) of result. All the result of the search are returned in an asynchronous stream.

    Q

    the query object type

    index

    name of the index

    query

    the query to execute

    qWrites

    Query to json object conversion

    sReader

    string to json conversion

    jsonReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a org.reactivestreams.Publisher (see reactive streams) of elastic.api.SearchResponse

    Definition Classes
    ElasticClientElastic
  45. def search[Q](index: Seq[String] = Seq.empty[String], type: Seq[String] = Seq.empty[String], query: Q, from: Int = 0, size: Int = 20, search_type: SearchType = QUERY_THEN_FETCH, request_cache: Boolean, terminate_after: Option[Int], timeout: Option[Int])(implicit qWrites: Writer[Q, String], sReader: Reader[String, JsonR], jsonReader: Reader[JsonR, SearchResponse[JsonR]], ec: ExecutionContext): Future[SearchResponse[JsonR]]

    Permalink

    Search operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html

    Search operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html

    Q

    query object type

    index

    name of the index

    query

    the query to execute

    from

    The starting from index of the hits to return. Defaults to 0

    size

    The number of hits to return. Defaults to 10

    search_type

    The type of the search operation to perform

    request_cache

    Set to true or false to enable or disable the caching of search results for requests

    terminate_after

    The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early

    timeout

    A search timeout, bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.

    qWrites

    Query to json object conversion

    sReader

    string to json conversion

    jsonReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a elastic.api.SearchResponse

    Definition Classes
    ElasticClientElastic
  46. def segments(indexes: Seq[String], verbose: Boolean)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    read segments see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-segments.html

    read segments see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-segments.html

    verbose

    verbose response if true

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json representation of the segments

    Definition Classes
    ElasticClientElastic
  47. def shardStores(indexes: Seq[String], status: Option[String])(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Shard stores operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shards-stores.html

    Shard stores operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shards-stores.html

    status

    the status : green, yellow, red

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json object of the response

    Definition Classes
    ElasticClientElastic
  48. def stats(indexes: Seq[String])(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html

    see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    Definition Classes
    ElasticClientElastic
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  51. def upgrade(index: String, only_ancient_segments: Boolean)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Upgrade operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-upgrade.html

    Upgrade operation see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-upgrade.html

    index

    the name if the index

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json objet of the response

    Definition Classes
    ElasticClientElastic
  52. def upgradeStatus(index: String)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[JsonR]

    Permalink

    Upgrade operation status see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-upgrade.html

    Upgrade operation status see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-upgrade.html

    index

    the name if the index

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    a json objet of the response

    Definition Classes
    ElasticClientElastic
  53. def verifyIndex(name: String)(implicit jsonReader: Reader[String, JsonR], ec: ExecutionContext): Future[Boolean]

    Permalink

    Verify if the index exists

    Verify if the index exists

    name

    of the index

    ec

    ExecutionContext for future execution

    returns

    Boolean

    Definition Classes
    ElasticClientElastic
  54. def verifyTemplate(name: String)(implicit sReader: Reader[String, JsonR], ec: ExecutionContext): Future[Boolean]

    Permalink

    Verify if the template exists

    Verify if the template exists

    name

    name of the template

    sReader

    json string to json object conversion

    ec

    ExecutionContext for future execution

    returns

    true if exists

    Definition Classes
    ElasticClientElastic
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Elastic[JsonR]

Inherited from AnyRef

Inherited from Any

Ungrouped