struct Meilisearch::Crystal::FederationOptions

Overview

Per-query options used during federated search.

Defined in:

meilisearch/crystal/search.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct Meilisearch::Crystal::Resource

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Macros inherited from struct Meilisearch::Crystal::Resource

define(name, &block) define, field(declaration) field, field!(declaration) field!, field?(declaration) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

Per-query options used during federated search.


[View source]
def self.new(weight : Float64 | Nil = nil, remote : String | Nil = nil, query_position : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def query_position : Int32 | Nil #

def remote : String | Nil #

def weight : Float64 | Nil #