struct Meilisearch::Crystal::NetworkConfig

Overview

Network topology configuration. Nested remote and shard schemas remain JSON values because they are explicitly experimental and evolve rapidly.

Defined in:

meilisearch/crystal/advanced.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) #

Network topology configuration. Nested remote and shard schemas remain JSON values because they are explicitly experimental and evolve rapidly.


[View source]

Instance Method Detail

def leader : String | Nil #

def remotes : Hash(String, JSON::Any) #

def self : String | Nil #

def shards : Hash(String, JSON::Any) #

def version : String #