sealed trait KNNRequest extends ElasticRequest[KNNSearchResult] with HasRouting[KNNRequest]
- Alphabetic
- By Inheritance
- KNNRequest
- HasRouting
- ElasticRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def filter(query: ElasticQuery[_]): KNNRequest
Adds an zio.elasticsearch.ElasticQuery to the zio.elasticsearch.ElasticRequest.KNNRequest to filter the documents that can match.
Adds an zio.elasticsearch.ElasticQuery to the zio.elasticsearch.ElasticRequest.KNNRequest to filter the documents that can match. If not provided, all documents are allowed to match.
- query
zio.elasticsearch.ElasticQuery object for filtering the matching documents
- returns
an instance of a zio.elasticsearch.ElasticRequest.KNNRequest that represents the kNN search operation enriched with filter query.
- abstract def routing(value: elasticsearch.Routing): KNNRequest
Specifies a
routing
value to be used for this zio.elasticsearch.ElasticRequest.Specifies a
routing
value 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
routing
parameter.
- Definition Classes
- HasRouting
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 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])