struct Meilisearch::Crystal::MultiSearch::Federation

Overview

Options controlling how federated hits are merged.

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) #

Options controlling how federated hits are merged.


[View source]
def self.new(offset : Int32 | Nil = nil, limit : Int32 | Nil = nil, page : Int32 | Nil = nil, hits_per_page : Int32 | Nil = nil, facets_by_index : Hash(String, Array(String)) | Nil = nil, merge_facets : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def facets_by_index : Hash(String, Array(String)) | Nil #

def hits_per_page : Int32 | Nil #

def limit : Int32 | Nil #

def merge_facets : Hash(String, JSON::Any) | Nil #

def offset : Int32 | Nil #

def page : Int32 | Nil #