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, timeout: Long)

Type Members

  1. class SyncClient extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def admin: AdminClient

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val client: Client

  9. def clone(): AnyRef

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

  11. def close(): Unit

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

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

    Definition Classes
    AnyRef → Any
  14. def execute(get: GetMappingDefinition): Future[GetMappingsResponse]

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

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

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

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

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

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

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

  22. def execute(gets: GetDefinition*): Future[MultiGetResponse]

  23. def execute(builder: 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.

    builder

    a GetDefinition from the Scala DSL

    returns

    a Future providing an GetResponse

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

  25. def execute(req: SearchRequest, callback: ActionListener[SearchResponse]): Unit

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

  27. def execute(req: IndexRequest, callback: ActionListener[IndexResponse]): Unit

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

  29. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: ClusterRequestDefinition[Req, Res, Builder], callback: ActionListener[Res]): Unit

  30. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: ClusterRequestDefinition[Req, Res, Builder]): Future[Res]

    Executes a Scala DSL ClusterRequestDefinition and returns a scala Future with corresponding ActionResponse.

    Executes a Scala DSL ClusterRequestDefinition and returns a scala Future with corresponding ActionResponse.

    requestDefinition

    a RequestDefinition from the Scala DSL

    returns

    a Future providing corresponding ActionResponse

  31. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: IndicesRequestDefinition[Req, Res, Builder], callback: ActionListener[Res]): Unit

  32. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: IndicesRequestDefinition[Req, Res, Builder]): Future[Res]

    Executes a Scala DSL IndicesRequestDefinition and returns a scala Future with corresponding ActionResponse.

    Executes a Scala DSL IndicesRequestDefinition and returns a scala Future with corresponding ActionResponse.

    requestDefinition

    a RequestDefinition from the Scala DSL

    returns

    a Future providing corresponding ActionResponse

  33. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: RequestDefinition[Req, Res, Builder], callback: ActionListener[Res]): Unit

  34. def execute[Req <: ActionRequest[Req], Res <: ActionResponse, Builder <: ActionRequestBuilder[Req, Res, Builder]](requestDefinition: RequestDefinition[Req, Res, Builder]): Future[Res]

    Executes a Scala DSL RequestDefinition and returns a scala Future with corresponding ActionResponse.

    Executes a Scala DSL RequestDefinition and returns a scala Future with corresponding ActionResponse.

    requestDefinition

    a RequestDefinition from the Scala DSL

    returns

    a Future providing corresponding ActionResponse

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

  36. def finalize(): Unit

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

  38. def get(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

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

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

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

    Definition Classes
    Any
  42. def java: Client

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

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

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

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

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

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

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

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

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

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

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

  54. def shutdown: Future[NodesShutdownResponse]

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

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

    Definition Classes
    AnyRef
  57. var timeout: Long

  58. def toString(): String

    Definition Classes
    AnyRef → Any
  59. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. 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 delete(d: ElasticDsl.DeleteByQueryDefinition): Future[DeleteByQueryResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  3. def delete(d: ElasticDsl.DeleteByIdDefinition): Future[DeleteResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  4. def get(gets: GetDefinition*): Future[MultiGetResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method with multiget block

  5. def get(req: MultiGetDefinition): Future[MultiGetResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method with multiget block

  6. def get(builder: GetDefinition): Future[GetResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  7. def percolate(percolate: ElasticDsl.PercolateDefinition): Future[PercolateResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  8. def register(registerDef: ElasticDsl.RegisterDefinition): Future[IndexResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  9. def result(requests: BulkCompatibleDefinition*)(implicit duration: Duration): BulkResponse

    Annotations
    @deprecated
    Deprecated

    (Since version 0.90.5) use the sync client

  10. def search(searches: ElasticDsl.SearchDefinition*): Future[MultiSearchResponse]

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

  11. def search(sdef: ElasticDsl.SearchDefinition): Future[SearchResponse]

    Executes a Scala DSL search and returns a scala Future with the SearchResponse.

    Executes a Scala DSL search and returns a scala Future with the SearchResponse.

    sdef

    a SearchDefinition from the Scala DSL

    returns

    a Future providing an SearchResponse

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0) use execute method

Inherited from AnyRef

Inherited from Any

Ungrouped