CreateRequest

zio.elasticsearch.ElasticRequest$.CreateRequest

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def refresh(value: Boolean): R

Configures whether or not to refresh the index after the operation in the ElasticRequest.

Configures whether or not to refresh the index after the operation in the ElasticRequest.

Attributes

value

should be true if the index should be refreshed after the executed operation, false otherwise

Returns:

an instance of the ElasticRequest enriched with the refresh parameter.

Inherited from:
HasRefresh (hidden)
final def refreshFalse: R

Sets refresh parameter to false in the ElasticRequest. Same as refresh.

Sets refresh parameter to false in the ElasticRequest. Same as refresh.

Attributes

Returns:

a new instance of the ElasticRequest with the refresh parameter set to false.

Inherited from:
HasRefresh (hidden)
final def refreshTrue: R

Sets refresh parameter to true in the ElasticRequest. Same as refresh.

Sets refresh parameter to true in the ElasticRequest. Same as refresh.

Attributes

Returns:

a new instance of the ElasticRequest with the refresh parameter set to true.

Inherited from:
HasRefresh (hidden)
def routing(value: Routing): R

Specifies a routing value to be used for this ElasticRequest.

Specifies a routing value to be used for this ElasticRequest.

Attributes

value

the Routing value to set for the ElasticRequest

Returns:

an instance of the ElasticRequest enriched with the routing parameter.

Inherited from:
HasRouting (hidden)