A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/meilisearch/meilisearch-ruby/wiki/Client-Options below:

Client Options · meilisearch/meilisearch-ruby Wiki · GitHub

The Client constructor can take the following parameters:

Here is the basic way to use the Client:

client = MeiliSearch::Client.new($URL, $API_KEY)

The default timeout is 1 second. You might need to increase this timeout to complete larger indexing requests:

MeiliSearch::Client.new($URL, $MASTER_KEY, timeout: 10)
# or
MeiliSearch::HTTPRequest.default_timeout(10)

To set a number of retries:

client = MeiliSearch::Client.new($URL, $MASTER_KEY, max_retries: 2)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4