struct
Meilisearch::Crystal::MultiSearch::Federation
Overview
Options controlling how federated hits are merged.
Defined in:
meilisearch/crystal/search.crConstructors
-
.new(pull : JSON::PullParser)
Options controlling how federated hits are merged.
- .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)
Instance Method Summary
- #facets_by_index : Hash(String, Array(String)) | Nil
- #hits_per_page : Int32 | Nil
- #limit : Int32 | Nil
- #merge_facets : Hash(String, JSON::Any) | Nil
- #offset : Int32 | Nil
- #page : Int32 | Nil
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(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)
#