struct Meilisearch::Crystal::FacetSearchResponse

Overview

Facet-search matches and timing metadata.

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

Facet-search matches and timing metadata.


[View source]

Instance Method Detail

def facet_hits : Array(FacetHit) #

def facet_query : String | Nil #

def processing_time : Time::Span | Nil #

[View source]