com.sksamuel.elastic4s

ElasticClient

class ElasticClient extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ElasticClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ElasticClient(client: Client)

Type Members

  1. class SyncClient extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use .await() on future of async client

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def admin: AdminClient

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val client: Client

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(index: String): Future[CloseIndexResponse]

  9. def close(): Unit

  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def execute(u: UpdateDefinition): Future[UpdateResponse]

  13. def execute(get: GetMappingDefinition): Future[GetMappingsResponse]

  14. def execute(delete: DeleteMappingDefinition): Future[DeleteMappingResponse]

  15. def execute(delete: DeleteIndexDefinition): Future[DeleteIndexResponse]

  16. def execute(bulk: BulkDefinition): Future[BulkResponse]

  17. def execute(req: DeleteIndexTemplateDefinition): Future[DeleteIndexTemplateResponse]

  18. def execute(req: CreateIndexTemplateDefinition): Future[PutIndexTemplateResponse]

  19. def execute(p: PercolateDefinition): Future[PercolateResponse]

  20. def execute(p: RegisterDefinition): Future[IndexResponse]

  21. def execute(v: ValidateDefinition): Future[ValidateQueryResponse]

  22. def execute(put: PutMappingDefinition): Future[PutMappingResponse]

  23. def execute(req: ExplainDefinition): Future[ExplainResponse]

  24. def execute(c: ClusterHealthDefinition): Future[ClusterHealthResponse]

  25. def execute(req: MoreLikeThisDefinition): Future[SearchResponse]

  26. def execute(req: MoreLikeThisRequest): Future[SearchResponse]

  27. def execute(req: UpdateRequest): Future[UpdateResponse]

  28. def execute(req: ValidateQueryRequest): Future[ValidateQueryResponse]

  29. def execute(i: IndexRecoveryDefinition): Future[RecoveryResponse]

  30. def execute(i: ElasticDsl.IndexStatusDefinition): Future[IndicesStatusResponse]

  31. def execute(c: CountDefinition): Future[CountResponse]

  32. def execute(req: CreateIndexRequest): Future[CreateIndexResponse]

  33. def execute(c: CreateIndexDefinition): Future[CreateIndexResponse]

  34. def execute(req: MultiGetDefinition): Future[MultiGetResponse]

  35. def execute(get: GetDefinition): Future[GetResponse]

    Executes a Scala DSL get and returns a scala Future with the GetResponse.

    Executes a Scala DSL get and returns a scala Future with the GetResponse.

    get

    a GetDefinition from the Scala DSL

    returns

    a Future providing an GetResponse

  36. def execute(req: GetRequest): Future[GetResponse]

    Executes a Java API GetRequest and returns a scala Future with the GetResponse.

    Executes a Java API GetRequest and returns a scala Future with the GetResponse.

    req

    a GetRequest from the Java client

    returns

    a Future providing an GetResponse

  37. def execute(req: CountRequest): Future[CountResponse]

    Executes a Java API CountRequest and returns a scala Future with the CountResponse.

    Executes a Java API CountRequest and returns a scala Future with the CountResponse.

    req

    a CountRequest from the Java client

    returns

    a Future providing an CountResponse

  38. def execute(req: DeleteSnapshotDefinition): Future[DeleteSnapshotResponse]

  39. def execute(req: RestoreSnapshotDefinition): Future[RestoreSnapshotResponse]

  40. def execute(opt: OptimizeDefinition): Future[OptimizeResponse]

  41. def execute(opt: OptimizeRequest): Future[OptimizeResponse]

  42. def execute(req: CreateSnapshotDefinition): Future[CreateSnapshotResponse]

  43. def execute(req: CreateRepositoryDefinition): Future[PutRepositoryResponse]

  44. def execute(req: DeleteByQueryDefinition): Future[DeleteByQueryResponse]

  45. def execute(req: DeleteByQueryRequest): Future[DeleteByQueryResponse]

  46. def execute(searches: SearchDefinition*): Future[MultiSearchResponse]

  47. def execute(searches: MultiSearchDefinition): Future[MultiSearchResponse]

  48. def execute(searches: MultiSearchRequest): Future[MultiSearchResponse]

  49. def execute(req: IndicesAliasesRequestDefinition): Future[IndicesAliasesResponse]

  50. def execute(req: MutateAliasDefinition): Future[IndicesAliasesResponse]

  51. def execute(req: IndicesAliasesRequest): Future[IndicesAliasesResponse]

  52. def execute(req: GetAliasDefinition): Future[GetAliasesResponse]

  53. def execute(req: GetAliasesRequest): Future[GetAliasesResponse]

  54. def execute(req: DeleteByIdDefinition): Future[DeleteResponse]

  55. def execute(req: DeleteRequest): Future[DeleteResponse]

  56. def execute(req: SearchDefinition): Future[SearchResponse]

  57. def execute(req: SearchRequest): Future[SearchResponse]

    Executes a Java API SearchRequest and returns a scala Future with the SearchResponse.

    Executes a Java API SearchRequest and returns a scala Future with the SearchResponse.

    req

    a SearchRequest from the Java clientl

    returns

    a Future providing an SearchResponse

  58. def execute(index: IndexDefinition): Future[IndexResponse]

  59. def execute(req: IndexRequest): Future[IndexResponse]

    Indexes a Java IndexRequest and returns a scala Future with the IndexResponse.

    Indexes a Java IndexRequest and returns a scala Future with the IndexResponse.

    req

    an IndexRequest from the Java client

    returns

    a Future providing an IndexResponse

  60. def exists(indexes: String*): Future[IndicesExistsResponse]

  61. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  62. def flush(indexes: String*): Future[FlushResponse]

  63. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  64. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. def java: Client

  67. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  68. final def notify(): Unit

    Definition Classes
    AnyRef
  69. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  70. def open(index: String): Future[OpenIndexResponse]

  71. def refresh(indexes: String*): Future[RefreshResponse]

  72. def reindex(sourceIndex: String, targetIndex: String, chunkSize: Int = 500, scroll: String = "5m", preserveId: Boolean = true)(implicit ec: ExecutionContext): Future[Unit]

  73. def searchScroll(scrollId: String, keepAlive: String): Future[SearchResponse]

  74. def searchScroll(scrollId: String): Future[SearchResponse]

  75. def segments(indexes: String*): Future[IndicesSegmentResponse]

  76. def shutdown(nodeIds: String*): Future[NodesShutdownResponse]

  77. def shutdown: Future[NodesShutdownResponse]

  78. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  79. def toString(): String

    Definition Classes
    AnyRef → Any
  80. def typesExist(indices: String*)(types: String*): Future[TypesExistsResponse]

  81. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def bulk(requests: BulkCompatibleDefinition*): Future[BulkResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3) Use bulk dsl with execute method

  2. def deleteMapping(indexes: String*)(types: String*): Future[DeleteMappingResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.4) use the dsl syntax, client execute { delete mapping index / type }

  3. def putMapping(indexes: String*)(mapping: MappingDefinition): Future[PutMappingResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.4) use the dsl syntax, client execute { put mapping index / type as {...} }

  4. def sync(implicit duration: Duration = 10.seconds): SyncClient

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use .await() on future of async client

Inherited from AnyRef

Inherited from Any

Ungrouped