Use the bulk API to perform many index/delete operations in a single call.
Use the bulk API to perform many index/delete operations in a single call.
The optional index name.
The optional type.
The operations to perform as described by the ElasticSearch Bulk API.
Request a count of the documents matching a query.
Request a count of the documents matching a query.
A sequence of index names for which mappings will be fetched.
A sequence of types for which mappings will be fetched.
The query to count documents from.
Create aliases.
Create aliases.
A String of JSON containing the actions to be performed. This string will be placed within the actions array passed As defined in the ElasticSearch Admin Indices API this method takes a string representing a list of operations to be performed. Remember to
val actions = """{ "add": { "index": "index1", "alias": "alias1" } }, { "add": { "index": "index2", "alias": "alias2" } }"""
Create an index, optionally using the supplied settings.
Create an index, optionally using the supplied settings.
The name of the index.
Optional settings
Delete a document from the index.
Delete a document from the index.
The name of the index.
The type of document to delete.
The ID of the document.
Delete an index alias.
Delete an index alias.
The name of the index.
The name of the alias.
Delete documents that match a query.
Delete documents that match a query.
A sequence of index names for which mappings will be fetched.
A sequence of types for which mappings will be fetched.
The query to count documents from.
Delete an index
Delete an index
The name of the index to delete.
Delete a warmer.
Delete a warmer.
The index of the warmer.
The name of the warmer.
Explain a query and document.
Explain a query and document.
The name of the index.
The optional type document to explain.
The ID of the document.
The query.
Get a document by ID.
Get a document by ID.
The name of the index.
The type of the document.
The id of the document.
Get aliases for indices.
Get aliases for indices.
Optional name of an index. If no index is supplied, then the query will check all indices.
The name of alias to return in the response. Like the index option, this option supports wildcards and the option the specify multiple alias names separated by a comma.
Get the mappings for a list of indices.
Get the mappings for a list of indices.
A sequence of index names for which mappings will be fetched.
A sequence of types for which mappings will be fetched.
Get the settings for a list of indices.
Get the settings for a list of indices.
A sequence of index names for which settings will be fetched.
Get matching warmers.
Get matching warmers.
Name of index to check.
Expression to match warmer.
Query ElasticSearch for it's health.
Query ElasticSearch for it's health.
Optional list of index names. Defaults to empty.
Can be one of cluster, indices or shards. Controls the details level of the health information returned.
One of green, yellow or red. Will wait until the status of the cluster changes to the one provided, or until the timeout expires.
A number controlling to how many relocating shards to wait for.
The request waits until the specified number N of nodes is available. Is a string because >N and ge(N) type notations are allowed.
A time based parameter controlling how long to wait if one of the waitForXXX are provided.
Index a document.
Index a document.
Adds or updates a JSON documented of the specified type in the specified index.
The index in which to place the document
The type of document to be indexed
The id of the document. Specifying None will trigger automatic ID generation by ElasticSearch
The document to index, which should be a JSON string
If true then ElasticSearch will refresh the index so that the indexed document is immediately searchable.
Get multiple documents by ID.
Get multiple documents by ID.
The optional name of the index.
The optional type of the document.
The query to execute.
The query uri parameters.
Get multiple documents by ID.
Get multiple documents by ID.
The optional name of the index.
The optional type of the document.
The query to execute.
Put a mapping for a list of indices.
Put a mapping for a list of indices.
A sequence of index names for which mappings will be added.
The type name to which the mappings will be applied.
The mapping.
When merge has conflicts overwrite mapping anyway, default false.
Put settings for a list of indices.
Put settings for a list of indices.
A sequence of index names for which settings will be updated.
The settings.
Add a warmer.
Add a warmer.
The index to add the warmer.
The name of the warmer.
The warmer content.
Refresh an index.
Refresh an index.
Makes all operations performed since the last refresh available for search.
Name of the index to refresh
Scrolls for more documents.
Scrolls for more documents.
The scroll parameter which tells Elasticsearch how long it should keep the “search context” alive
The _scroll_id value returned in the response to the previous search or scroll request
Search for documents.
Search for documents.
The index to search
The query to execute.
The optional type of document to search
The query uri parameters.
Query ElasticSearch Stats.
Query ElasticSearch Stats. Parameters to enable non-default stats as desired.
Optional list of index names. Defaults to empty.
Clears all the flags (first).
refresh stats.
flush stats.
merge stats.
Warmer statistics.
Suggest completions based on analyzed documents.
Suggest completions based on analyzed documents.
The index to search
The query to execute.
Validate a query.
Validate a query.
The name of the index.
The optional type of document to validate against.
The query.
If true, then the response will contain more detailed information about the query.
Verify that an index exists.
Verify that an index exists.
The name of the index to verify.
Verify that a type exists.
Verify that a type exists.
The name of the index to verify.
The name of the document type to verify.