sealed trait SimpleQueryStringQuery[S] extends ElasticQuery[S] with HasFields[SimpleQueryStringQuery, S] with HasMinimumShouldMatch[SimpleQueryStringQuery[S]]
- Alphabetic
- By Inheritance
- SimpleQueryStringQuery
- HasMinimumShouldMatch
- HasFields
- ElasticQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def fields[S1 <: S](field: Field[S1, _], fields: Field[S1, _]*)(implicit arg0: Schema[S1]): SimpleQueryStringQuery[S1]
Sets the type-safe
fieldsparameter for this zio.elasticsearch.query.ElasticQuery.Sets the type-safe
fieldsparameter for this zio.elasticsearch.query.ElasticQuery. Thefieldsparameter is array of type-safe fields that will be searched.- S1
a subtype of the base document type
Srepresenting the schema that contains the selected fields- field
the first type-safe field to include in the
fieldsparameter- fields
an array of type-safe fields to set
fieldsparameter to- returns
an instance of the zio.elasticsearch.query.ElasticQuery enriched with the type-safe
fieldsparameter.
- Definition Classes
- HasFields
- abstract def fields[S1 <: S](fields: Chunk[Field[S1, _]])(implicit arg0: Schema[S1]): SimpleQueryStringQuery[S1]
Sets the type-safe
fieldsparameter for this zio.elasticsearch.query.ElasticQuery.Sets the type-safe
fieldsparameter for this zio.elasticsearch.query.ElasticQuery. This version allows specifying multiple fields of different types (e.g. String, Int, Boolean) in a type-safe way using their respective definitions.- S1
a subtype of the base document type
Srepresenting the schema that contains the selected fields- fields
a chunk of type-safe fields to search within. These fields may be of any supported scalar type (such as String, Int, Boolean, etc.), and must be part of the document schema
S1.- returns
an instance of the zio.elasticsearch.query.ElasticQuery enriched with the provided type-safe
fields.
- Definition Classes
- HasFields
- abstract def fields(field: String, fields: String*): SimpleQueryStringQuery[S]
Sets the
fieldsparameter for this zio.elasticsearch.query.ElasticQuery.Sets the
fieldsparameter for this zio.elasticsearch.query.ElasticQuery. Thefieldsparameter is array of fields that will be searched.- field
the first field to include in the
fieldsparameter- fields
an array of fields to set
fieldsparameter to- returns
an instance of the zio.elasticsearch.query.ElasticQuery enriched with the
fieldsparameter.
- Definition Classes
- HasFields
- abstract def minimumShouldMatch(value: MinimumShouldMatch): SimpleQueryStringQuery[S]
Sets the
minimumShouldMatchparameter for this zio.elasticsearch.ElasticQuery.Sets the
minimumShouldMatchparameter for this zio.elasticsearch.ElasticQuery. TheminimumShouldMatchvalue is the minimum number of optional clauses (e.g.shouldclauses of a zio.elasticsearch.query.BoolQuery or terms of a full text query) that returned documents must match. Its default value depends on the query type.- value
the zio.elasticsearch.query.MinimumShouldMatch to set
minimumShouldMatchparameter to, possible values are:- zio.elasticsearch.query.MinimumShouldMatch.Count: a fixed number of clauses, e.g.
3or-2 - zio.elasticsearch.query.MinimumShouldMatch.Percentage: a percentage of clauses, e.g.
75%or-25% - zio.elasticsearch.query.MinimumShouldMatch.Combination: one or more conditional specifications, e.g.
3<90%or2<-25% 9<-3
- zio.elasticsearch.query.MinimumShouldMatch.Count: a fixed number of clauses, e.g.
- returns
a new instance of the zio.elasticsearch.ElasticQuery with the
minimumShouldMatchvalue set.
- Definition Classes
- HasMinimumShouldMatch
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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def minimumShouldMatch(value: Int): SimpleQueryStringQuery[S]
Sets the
minimumShouldMatchparameter for this zio.elasticsearch.ElasticQuery.Sets the
minimumShouldMatchparameter for this zio.elasticsearch.ElasticQuery. TheminimumShouldMatchvalue is the minimum number of optional clauses (e.g.shouldclauses of a zio.elasticsearch.query.BoolQuery or terms of a full text query) that returned documents must match. Its default value depends on the query type.This is a shorthand for
minimumShouldMatch(MinimumShouldMatch.Count(value)).- value
a number to set
minimumShouldMatchparameter to; a negative number is the number of optional clauses that may be missing- returns
a new instance of the zio.elasticsearch.ElasticQuery with the
minimumShouldMatchvalue set.
- Definition Classes
- HasMinimumShouldMatch
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])