SearchAndAggregateRequest

zio.elasticsearch.ElasticRequest$.SearchAndAggregateRequest

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def from(value: Int): R

Attributes

value

a non-negative number to set the from parameter in the ElasticRequest

Returns:

an instance of the ElasticRequest enriched with the from parameter.

Inherited from:
HasFrom (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)
def size(value: Int): R

Sets the maximum number of results.

Sets the maximum number of results.

Attributes

value

a non-negative number to set the size parameter in the ElasticRequest

Returns:

an instance of the ElasticRequest enriched with the size parameter.

Inherited from:
HasSize (hidden)
def sort(sorts: Sort*): R

Attributes

sorts

one or more Sort objects that define the sorting criteria

Returns:

an instance of the ElasticRequest enriched with the sorting criteria.

Inherited from:
WithSort (hidden)