FunctionScoreFunction

zio.elasticsearch.query.FunctionScoreFunction
See theFunctionScoreFunction companion object
sealed trait FunctionScoreFunction[-S]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DecayFunction[S]
class FieldValueFactor[S]

Members list

Value members

Abstract methods

def filter(filter: ElasticQuery[Any]): FunctionScoreFunction[Any]

Sets the filter parameter for the zio.elasticsearch.query.FunctionScoreFunction.

Sets the filter parameter for the zio.elasticsearch.query.FunctionScoreFunction.

Value parameters

filter

the zio.elasticsearch.query.ElasticQuery used for filtering

Attributes

Returns

an instance of zio.elasticsearch.query.FunctionScoreFunction that can be used in zio.elasticsearch.query.FunctionScoreQuery to be performed enriched with the filter parameter.

def filter[S1 <: S : Schema](filter: ElasticQuery[S1]): FunctionScoreFunction[S1]

Sets the filter parameter for the zio.elasticsearch.query.FunctionScoreFunction.

Sets the filter parameter for the zio.elasticsearch.query.FunctionScoreFunction.

Type parameters

S1

the type of query used in filter, requires implicit zio.schema.Schema in scope

Value parameters

filter

the zio.elasticsearch.query.ElasticQuery used for filtering

Attributes

Returns

an instance of zio.elasticsearch.query.FunctionScoreFunction that can be used in zio.elasticsearch.query.FunctionScoreQuery to be performed enriched with the filter parameter.

Abstract fields