class Elasticsearch::DSL::Search::Queries::Boosting

Defined in:

elasticsearch-dsl/search/queries/compound/boosting.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def boosting(&) #

[View source]
def negative(_q : Q.class, &) forall Q #

def negative(negative : Union(Base, Nil)) #

def negative_boost(negative_boost : Union(Type::Number, Nil)) #

def positive(_q : Q.class, &) forall Q #

def positive(positive : Union(Base, Nil)) #

def to_json(json : JSON::Builder) #

[View source]