object ElasticRequest

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElasticRequest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait AggregateRequest extends ElasticRequest[AggregateResult]
  2. sealed trait BulkRequest extends ElasticRequest[BulkResponse] with HasRefresh[BulkRequest] with HasRouting[BulkRequest]
  3. sealed trait CountRequest extends ElasticRequest[Int] with HasRouting[CountRequest]
  4. sealed trait CreateIndexRequest extends ElasticRequest[CreationOutcome]
  5. sealed trait CreateOrUpdateRequest extends BulkableRequest[Unit] with HasRefresh[CreateOrUpdateRequest] with HasRouting[CreateOrUpdateRequest]
  6. sealed trait CreateRequest extends BulkableRequest[DocumentId] with HasRefresh[CreateRequest] with HasRouting[CreateRequest]
  7. sealed trait CreateWithIdRequest extends BulkableRequest[CreationOutcome] with HasRefresh[CreateWithIdRequest] with HasRouting[CreateWithIdRequest]
  8. sealed trait DeleteByIdRequest extends BulkableRequest[DeletionOutcome] with HasRefresh[DeleteByIdRequest] with HasRouting[DeleteByIdRequest]
  9. sealed trait DeleteByQueryRequest extends ElasticRequest[DeletionOutcome] with HasRefresh[DeleteByQueryRequest] with HasRouting[DeleteByQueryRequest]
  10. sealed trait DeleteIndexRequest extends ElasticRequest[DeletionOutcome]
  11. sealed trait ExistsRequest extends ElasticRequest[Boolean] with HasRouting[ExistsRequest]
  12. sealed trait GetByIdRequest extends ElasticRequest[GetResult] with HasRefresh[GetByIdRequest] with HasRouting[GetByIdRequest]
  13. sealed trait KNNRequest extends ElasticRequest[KNNSearchResult] with HasRouting[KNNRequest]
  14. sealed trait RefreshRequest extends ElasticRequest[Boolean]
  15. sealed trait SearchAndAggregateRequest extends ElasticRequest[SearchAndAggregateResult] with HasFrom[SearchAndAggregateRequest] with HasHighlights[SearchAndAggregateRequest] with HasRouting[SearchAndAggregateRequest] with HasSearchAfter[SearchAndAggregateRequest] with HasSize[SearchAndAggregateRequest] with HasSort[SearchAndAggregateRequest] with HasSourceFiltering[SearchAndAggregateRequest]
  16. sealed trait SearchRequest extends ElasticRequest[SearchResult] with HasFrom[SearchRequest] with HasHighlights[SearchRequest] with HasRouting[SearchRequest] with HasSearchAfter[SearchRequest] with HasSize[SearchRequest] with HasSort[SearchRequest] with HasSourceFiltering[SearchRequest]
  17. sealed trait UpdateByQueryRequest extends ElasticRequest[UpdateByQueryResult] with HasRefresh[UpdateByQueryRequest] with HasRouting[UpdateByQueryRequest]
  18. sealed trait UpdateRequest extends BulkableRequest[UpdateOutcome] with HasRefresh[UpdateRequest] with HasRouting[UpdateRequest]

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. final def aggregate[I](selectors: I, aggregation: ElasticAggregation)(implicit arg0: IndexSelector[I]): AggregateRequest

    Constructs an instance of AggregateRequest using the specified parameters.

    Constructs an instance of AggregateRequest using the specified parameters.

    selectors

    the name of the index or more indices to aggregate on

    aggregation

    the desired ElasticAggregation to perform

    returns

    an instance of AggregateRequest that represents the aggregation to be performed.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def bulk(requests: BulkableRequest[_]*): BulkRequest

    Constructs an instance of BulkRequest using the specified requests.

    Constructs an instance of BulkRequest using the specified requests.

    requests

    a list of requests that will be executed as a bulk

    returns

    an instance of BulkRequest that represents the bulk operation to be performed.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def count(index: elasticsearch.IndexName, query: ElasticQuery[_]): CountRequest

    Constructs an instance of CountRequest for counting documents satisfy the query.

    Constructs an instance of CountRequest for counting documents satisfy the query.

    index

    the name of the Elasticsearch index to count documents from

    query

    the ElasticQuery object to query documents that will be counted

    returns

    an instance of CountRequest that represents the count operation to be performed.

  9. final def count(index: elasticsearch.IndexName): CountRequest

    Constructs an instance of CountRequest for whole specified index.

    Constructs an instance of CountRequest for whole specified index.

    index

    the name of the index to count documents from

    returns

    an instance of CountRequest that represents the count operation to be performed.

  10. final def create[A](index: elasticsearch.IndexName, id: DocumentId, doc: A)(implicit arg0: Schema[A]): CreateWithIdRequest

    Constructs an instance of CreateWithIdRequest used for creating a document with specified ID in the specified index.

    Constructs an instance of CreateWithIdRequest used for creating a document with specified ID in the specified index.

    A

    the type of the document to be created. An implicit Schema instance must be in scope for this type

    index

    the name of the index to create the document in

    id

    the ID of the new document

    doc

    the document to be created, represented by an instance of type A

    returns

    an instance of CreateRequest that represents the create with id operation to be performed.

  11. final def create[A](index: elasticsearch.IndexName, doc: A)(implicit arg0: Schema[A]): CreateRequest

    Constructs an instance of CreateRequest used for creating a document in the specified index.

    Constructs an instance of CreateRequest used for creating a document in the specified index.

    A

    the type of the document to be created. An implicit Schema instance must be in scope for this type

    index

    the name of the index to create the document in

    doc

    the document to be created, represented by an instance of type A

    returns

    an instance of CreateRequest that represents the create operation to be performed.

  12. final def createIndex(index: elasticsearch.IndexName, definition: String): CreateIndexRequest

    Constructs an instance of CreateIndexRequest used for creating an index with a specified definition.

    Constructs an instance of CreateIndexRequest used for creating an index with a specified definition.

    index

    the name of the index to be created

    definition

    the settings for the index

    returns

    an instance of CreateIndexRequest that represents the create index operation to be performed.

  13. final def createIndex(index: elasticsearch.IndexName): CreateIndexRequest

    Constructs an instance of CreateIndexRequest used for creating an empty index.

    Constructs an instance of CreateIndexRequest used for creating an empty index.

    index

    the name of the index to be created

    returns

    an instance of CreateIndexRequest that represents the create index operation to be performed.

  14. final def deleteById(index: elasticsearch.IndexName, id: DocumentId): DeleteByIdRequest

    Constructs an instance of DeleteByIdRequest used for deleting a document from the specified index by specified ID.

    Constructs an instance of DeleteByIdRequest used for deleting a document from the specified index by specified ID.

    index

    the name of the index to delete the document from

    id

    the ID of the document to be deleted

    returns

    an instance of DeleteByIdRequest that represents delete by id operation to be performed.

  15. final def deleteByQuery(index: elasticsearch.IndexName, query: ElasticQuery[_]): DeleteByQueryRequest

    Constructs an instance of DeleteByQueryRequest used for deleting documents from the specified index that satisfy specified query.

    Constructs an instance of DeleteByQueryRequest used for deleting documents from the specified index that satisfy specified query.

    index

    the name of the index to delete documents from

    query

    the ElasticQuery object to query documents which will be deleted

    returns

    an instance of DeleteByQueryRequest that represents delete by query operation to be performed.

  16. final def deleteIndex(index: elasticsearch.IndexName): DeleteIndexRequest

    Constructs an instance of DeleteIndexRequest used for deleting an index by specified name.

    Constructs an instance of DeleteIndexRequest used for deleting an index by specified name.

    index

    the name of the index to be deleted

    returns

    an instance of DeleteIndexRequest that represents delete index operation to be performed.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. final def exists(index: elasticsearch.IndexName, id: DocumentId): ExistsRequest

    Constructs an instance of ExistsRequest used for checking whether document exists.

    Constructs an instance of ExistsRequest used for checking whether document exists.

    index

    the name of the index where the document may be located

    id

    the ID of the document to check for existence

    returns

    an instance of ExistsRequest that represents exists operation to be performed.

  20. final def getById(index: elasticsearch.IndexName, id: DocumentId): GetByIdRequest

    Constructs an instance of GetByIdRequest used for retrieving the document from specified index, by specified ID.

    Constructs an instance of GetByIdRequest used for retrieving the document from specified index, by specified ID.

    index

    the name of the index where the document is located

    id

    the ID of the document to retrieve

    returns

    an instance of GetByIdRequest that represents get by id operation to be performed.

  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def knnSearch[I](selectors: I, query: KNNQuery[_])(implicit arg0: IndexSelector[I]): KNNRequest

    Constructs an instance of KNNRequest used for performing a k-nearest neighbour (kNN) search.

    Constructs an instance of KNNRequest used for performing a k-nearest neighbour (kNN) search. Given a query vector, it finds the k closest vectors and returns those documents as search hits.

    selectors

    the name of the index or more indices to search in

    query

    an instance of zio.elasticsearch.query.KNNQuery to run

    returns

    an instance of KNNRequest that represents k-nearest neighbour (kNN) operation to be performed.

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def refresh[I](selectors: I)(implicit arg0: IndexSelector[I]): RefreshRequest

    Constructs an instance of RefreshRequest used for refreshing an index with the specified name.

    Constructs an instance of RefreshRequest used for refreshing an index with the specified name.

    selectors

    the name of the index or more indices to be refreshed

    returns

    an instance of RefreshRequest that represents refresh operation to be performed.

  29. final def search[I](selectors: I, query: ElasticQuery[_], aggregation: ElasticAggregation)(implicit arg0: IndexSelector[I]): SearchAndAggregateRequest

    Constructs an instance of SearchAndAggregateRequest using the specified parameters.

    Constructs an instance of SearchAndAggregateRequest using the specified parameters.

    selectors

    the name of the index or more indices to search and aggregate in

    query

    an ElasticQuery object for querying documents

    aggregation

    an ElasticAggregation object for aggregating queried documents

    returns

    an instance of SearchAndAggregateRequest that represents search and aggregate operations to be performed.

  30. final def search[I](selectors: I, query: ElasticQuery[_])(implicit arg0: IndexSelector[I]): SearchRequest

    Constructs an instance of SearchRequest using the specified parameters.

    Constructs an instance of SearchRequest using the specified parameters.

    selectors

    the name of the index or more indices to search in

    query

    the ElasticQuery object representing the search query to execute

    returns

    an instance of SearchRequest that represents search operation to be performed.

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def update[A](index: elasticsearch.IndexName, id: DocumentId, doc: A)(implicit arg0: Schema[A]): UpdateRequest

    Constructs an instance of UpdateRequest used for updating the document in the specified index, by specified ID.

    Constructs an instance of UpdateRequest used for updating the document in the specified index, by specified ID.

    A

    the type of the document to be updated. An implicit Schema instance must be in scope for this type

    index

    the name of the index containing the document to update

    id

    the ID of the document to update

    doc

    the document to be updated, represented by an instance of type A

    returns

    an instance of UpdateRequest that represents update operation to be performed.

  34. final def updateAllByQuery(index: elasticsearch.IndexName, script: Script): UpdateByQueryRequest

    Constructs an instance of UpdateByQueryRequest used for updating all documents in the specified index.

    Constructs an instance of UpdateByQueryRequest used for updating all documents in the specified index.

    index

    the name of the index to update documents in

    script

    a script containing the update logic to apply

    returns

    an instance of UpdateByQueryRequest that represents update all operation to be performed.

  35. final def updateByQuery(index: elasticsearch.IndexName, query: ElasticQuery[_], script: Script): UpdateByQueryRequest

    Constructs an instance of UpdateByQueryRequest used for satisfying documents matching specified query in the specified index.

    Constructs an instance of UpdateByQueryRequest used for satisfying documents matching specified query in the specified index.

    index

    the name of the index to update documents in

    query

    an ElasticQuery object representing a search query used to find documents to update

    script

    a script containing the update logic to apply

    returns

    an instance of UpdateByQueryRequest that represents update by query operation to be performed.

  36. final def updateByScript(index: elasticsearch.IndexName, id: DocumentId, script: Script): UpdateRequest

    Constructs an instance of UpdateRequest used for updating the document with specified ID in the specified index.

    Constructs an instance of UpdateRequest used for updating the document with specified ID in the specified index.

    index

    the name of the index containing the document to update

    id

    the ID of the document to update

    script

    a script containing the update logic to apply to the document

    returns

    an instance of UpdateRequest that represents update by script operation to be performed.

  37. final def upsert[A](index: elasticsearch.IndexName, id: DocumentId, doc: A)(implicit arg0: Schema[A]): CreateOrUpdateRequest

    Constructs an instance of CreateOrUpdateRequest used for creating or updating the document in the specified index with specified ID.

    Constructs an instance of CreateOrUpdateRequest used for creating or updating the document in the specified index with specified ID.

    A

    the type of the document to be created or updated. An implicit Schema instance must be in scope for this type

    index

    the name of the index to create or update the document in

    id

    the ID of the document to be created or updated

    doc

    the document to be created or updated, represented by an instance of type A

    returns

    an instance of CreateOrUpdateRequest that represents upsert operation to be performed.

  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped