class

Manticoresearch::Configuration

Inherits Reference < Object

Constants

JSON_SCHEMA_VALIDATION_KEYWORDS = ["multipleOf", "maximum", "exclusiveMaximum", "minimum", "exclusiveMinimum", "maxLength", "minLength", "pattern", "maxItems", "minItems"] of ::String

Constructors

default
Source
new(host : String | Nil = nil, api_key : Hash(String, String) | Nil = nil, api_key_prefix : Hash(String, String) | Nil = nil, username : String | Nil = nil, password : String | Nil = nil)

Constructor

Source

Instance methods

api_key

API key storage

Source
api_key=(api_key : Hash(String, String))

API key storage

Source
api_key_prefix
Source
api_key_prefix=(api_key_prefix : Hash(String, String))
Source
assert_hostname
Source
assert_hostname=(assert_hostname : Bool | Nil)
Source
cert_file
Source
cert_file=(cert_file : String | Nil)
Source
client_side_validation
Source
client_side_validation=(client_side_validation : Bool)
Source
connection_pool_maxsize

Connection pool settings

Source
connection_pool_maxsize=(connection_pool_maxsize : Int32)

Connection pool settings

Source
debug
Source
debug=(debug : Bool)
Source
get_api_key_with_prefix(identifier : String) : String | Nil
Source
get_basic_auth_token
Source
host

Base URL for the API

Source
host=(host : String)

Base URL for the API

Source
host_from_settings(index : Int32 = 0) : String
Source
key_file
Source
key_file=(key_file : String | Nil)
Source
logger

Logging settings

Source
logger=(logger : Log)

Logging settings

Source
password
Source
password=(password : String | Nil)
Source
proxy

Proxy settings

Source
proxy=(proxy : String | Nil)

Proxy settings

Source
proxy_headers
Source
proxy_headers=(proxy_headers : HTTP::Headers | Nil)
Source
ssl_ca_cert
Source
ssl_ca_cert=(ssl_ca_cert : String | Nil)
Source
to_debug_report
Source
username

Authentication settings

Source
username=(username : String | Nil)

Authentication settings

Source
verify_ssl

SSL settings

Source
verify_ssl=(verify_ssl : Bool)

SSL settings

Source