Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- ElasticRequest.type
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- Bulk.type
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait BulkableRequest[DocumentId]trait ElasticRequest[DocumentId]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait BulkableRequest[CreationOutcome]trait ElasticRequest[CreationOutcome]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait BulkableRequest[DeletionOutcome]trait ElasticRequest[DeletionOutcome]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait DeleteIndexRequesttrait ElasticRequest[DeletionOutcome]class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- Known subtypes
- class DeleteIndex
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait BulkableRequest[UpdateOutcome]trait ElasticRequest[UpdateOutcome]class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Constructs an instance of AggregateRequest using the specified parameters.
Constructs an instance of AggregateRequest using the specified parameters.
Attributes
- aggregation
the desired ElasticAggregation to perform
- index
the name of the Elasticsearch index to aggregate on
- Returns:
an instance of AggregateRequest that represents the aggregation to be performed.
Constructs an instance of BulkRequest using the specified requests.
Constructs an instance of BulkRequest using the specified requests.
Attributes
- 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.
Constructs an instance of CountRequest for whole specified index.
Constructs an instance of CountRequest for whole specified index.
Attributes
- index
the name of the index to count documents from
- Returns:
an instance of CountRequest that represents the count operation to be performed.
Constructs an instance of CountRequest for counting documents satisfy the query.
Constructs an instance of CountRequest for counting documents satisfy the query.
Attributes
- 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.
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.
Attributes
- A
the type of the document to be created. An implicit
Schema
instance must be in scope for this type- doc
the document to be created, represented by an instance of type
A
- index
the name of the index to create the document in
- Returns:
an instance of CreateRequest that represents the create operation to be performed.
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.
Attributes
- A
the type of the document to be created. An implicit
Schema
instance must be in scope for this type- doc
the document to be created, represented by an instance of type
A
- id
the ID of the new document
- index
the name of the index to create the document in
- Returns:
an instance of CreateRequest that represents the create with id operation to be performed.
Constructs an instance of CreateIndexRequest used for creating an empty index.
Constructs an instance of CreateIndexRequest used for creating an empty index.
Attributes
- name
the name of the index to be created
- Returns:
an instance of CreateIndexRequest that represents the create index operation to be performed.
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.
Attributes
- definition
the settings for the index
- name
the name of the index to be created
- Returns:
an instance of CreateIndexRequest that represents the create index operation to be performed.
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.
Attributes
- id
the ID of the document to be deleted
- index
the name of the index to delete the document from
- Returns:
an instance of DeleteByIdRequest that represents delete by id operation to be performed.
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.
Attributes
- 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.
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.
Attributes
- name
the name of the index to be deleted
- Returns:
an instance of DeleteIndexRequest that represents delete index operation to be performed.
Constructs an instance of ExistRequest used for checking whether document exists.
Constructs an instance of ExistRequest used for checking whether document exists.
Attributes
- id
the ID of the document to check for existence
- index
the name of the index where the document may be located
- Returns:
an instance of ExistRequest that represents exists operation to be performed.
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.
Attributes
- id
the ID of the document to retrieve
- index
the name of the index where the document is located
- Returns:
an instance of GetByIdRequest that represents get by id operation to be performed.
Constructs an instance of SearchRequest using the specified parameters.
Constructs an instance of SearchRequest using the specified parameters.
Attributes
- index
the name of the index 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.
Constructs an instance of SearchAndAggregateRequest using the specified parameters.
Constructs an instance of SearchAndAggregateRequest using the specified parameters.
Attributes
- aggregation
an ElasticAggregation object for aggregating queried documents
- index
the name of the index to search and aggregate in
- query
an ElasticQuery object for querying documents
- Returns:
an instance of SearchAndAggregateRequest that represents search and aggregate operations to be performed.
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.
Attributes
- A
the type of the document to be updated. An implicit
Schema
instance must be in scope for this type- doc
the document to be updated, represented by an instance of type
A
- id
the ID of the document to update
- index
the name of the index containing the document to update
- Returns:
an instance of UpdateRequest that represents update operation to be performed.
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.
Attributes
- index
the name of the index to update documents in
- script
a Script object containing the update logic to apply
- Returns:
an instance of UpdateByQueryRequest that represents update all operation to be performed.
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.
Attributes
- 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 object containing the update logic to apply
- Returns:
an instance of UpdateByQueryRequest that represents update by query operation to be performed.
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.
Attributes
- id
the ID of the document to update
- index
the name of the index containing the document to update
- script
a Script object containing the update logic to apply to the document
- Returns:
an instance of UpdateRequest that represents update by script operation to be performed.
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.
Attributes
- A
the type of the document to be created or updated. An implicit
Schema
instance must be in scope for this type- doc
the document to be created or updated, represented by an instance of type
A
- id
the ID of the document to be created or updated
- index
the name of the index to create or update the document in
- Returns:
an instance of CreateOrUpdateRequest that represents upsert operation to be performed.