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]
- Alphabetic
- By Inheritance
- SearchAndAggregateRequest
- HasSourceFiltering
- HasSort
- HasSize
- HasSearchAfter
- HasRouting
- HasHighlights
- HasFrom
- ElasticRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
excludes(field: String, fields: String*): SearchAndAggregateRequest
Specifies one or more fields to be excluded in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
Specifies one or more fields to be excluded in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
- field
a field to be excluded
- fields
fields to be excluded
- returns
an instance of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest with specified fields to be excluded.
- Definition Classes
- HasSourceFiltering
-
abstract
def
excludes[S](field: Field[S, _], fields: Field[S, _]*): SearchAndAggregateRequest
Specifies one or more type-safe fields to be excluded in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
Specifies one or more type-safe fields to be excluded in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
- S
document which fields are excluded
- field
a type-safe field to be excluded
- fields
type-safe fields to be excluded
- returns
an instance of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest with specified fields to be excluded.
- Definition Classes
- HasSourceFiltering
-
abstract
def
from(value: Int): SearchAndAggregateRequest
Sets the starting offset from where the zio.elasticsearch.ElasticRequest.SearchRequest or the zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest return results.
Sets the starting offset from where the zio.elasticsearch.ElasticRequest.SearchRequest or the zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest return results.
- value
a non-negative number to set the
fromparameter in the zio.elasticsearch.ElasticRequest- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the
fromparameter.
- Definition Classes
- HasFrom
-
abstract
def
highlights(value: Highlights): SearchAndAggregateRequest
Sets the zio.elasticsearch.highlights.Highlights for the zio.elasticsearch.ElasticRequest.
Sets the zio.elasticsearch.highlights.Highlights for the zio.elasticsearch.ElasticRequest.
- value
the zio.elasticsearch.highlights.Highlights to be set
- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the highlights.
- Definition Classes
- HasHighlights
-
abstract
def
includes[A](implicit schema: Record[A]): SearchAndAggregateRequest
Specifies fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest based on the schema of a case class.
Specifies fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest based on the schema of a case class.
- A
a case class whose fields will be included in the response
- schema
a record schema of A
- returns
an instance of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest with specified fields to be excluded.
- Definition Classes
- HasSourceFiltering
-
abstract
def
includes(field: String, fields: String*): SearchAndAggregateRequest
Specifies one or more fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
Specifies one or more fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
- field
a field to be included
- fields
fields to be included
- returns
an instance of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest with specified fields to be included.
- Definition Classes
- HasSourceFiltering
-
abstract
def
includes[S](field: Field[S, _], fields: Field[S, _]*): SearchAndAggregateRequest
Specifies one or more type-safe fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
Specifies one or more type-safe fields to be included in the response of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
- field
a type-safe field to be included
- fields
type-safe fields to be included
- returns
an instance of a zio.elasticsearch.ElasticRequest.SearchRequest or a zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest with specified fields to be included.
- Definition Classes
- HasSourceFiltering
-
abstract
def
routing(value: elasticsearch.Routing): SearchAndAggregateRequest
Specifies a
routingvalue to be used for this zio.elasticsearch.ElasticRequest.Specifies a
routingvalue to be used for this zio.elasticsearch.ElasticRequest.- value
the Routing value to set for the zio.elasticsearch.ElasticRequest
- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the
routingparameter.
- Definition Classes
- HasRouting
-
abstract
def
searchAfter(value: Json): SearchAndAggregateRequest
Sets the
search_afterparameter for the zio.elasticsearch.ElasticRequest.Sets the
search_afterparameter for the zio.elasticsearch.ElasticRequest.- value
the JSON value to be set as the
search_afterparameter- returns
an instance of a zio.elasticsearch.ElasticRequest enriched with the
search_afterparameter.
- Definition Classes
- HasSearchAfter
-
abstract
def
size(value: Int): SearchAndAggregateRequest
Sets the maximum number of results.
Sets the maximum number of results.
- value
a non-negative number to set the
sizeparameter in the zio.elasticsearch.ElasticRequest- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the
sizeparameter.
- Definition Classes
- HasSize
-
abstract
def
sort(sort: Sort, sorts: Sort*): SearchAndAggregateRequest
Sets the sorting criteria for the zio.elasticsearch.ElasticRequest.SearchRequest or the zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
Sets the sorting criteria for the zio.elasticsearch.ElasticRequest.SearchRequest or the zio.elasticsearch.ElasticRequest.SearchAndAggregateRequest.
- sort
required zio.elasticsearch.query.sort.Sort object that define the sorting criteria
- sorts
rest of the zio.elasticsearch.query.sort.Sort objects that define the sorting criteria
- returns
an instance of the zio.elasticsearch.ElasticRequest enriched with the sorting criteria.
- Definition Classes
- HasSort
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
getFieldNames(schema: Record[_]): Chunk[String]
- Attributes
- protected
- Definition Classes
- HasSourceFiltering
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )