struct Meilisearch::Crystal::FacetSearchRequest

Overview

Parameters for searching within an index facet.

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

Parameters for searching within an index facet.


[View source]
def self.new(facet_name : String, facet_query : String | Nil = nil, q : String | Nil = nil, filter : String | Array(String) | Nil = nil, matching_strategy : MatchingStrategy | Nil = nil, exhaustive_facet_count : Bool | Nil = nil) #

[View source]

Instance Method Detail

def exhaustive_facet_count : Bool | Nil #

def facet_name : String #

def facet_query : String | Nil #

def filter : String | Array(String) | Nil #

def matching_strategy : MatchingStrategy | Nil #

[View source]
def q : String | Nil #