Knn

com.sksamuel.elastic4s.requests.searches.knn.Knn
case class Knn(field: String, numCandidates: Int, queryVector: Seq[Double], k: Int, similarity: Option[Float], filter: Option[Query], boost: Double)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def boost(boost: Double): Knn
def filter(filter: Query): Knn
def k(k: Int): Knn
def similarity(similarity: Float): Knn

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product