The Search API client is part of the algolia gem. To install this gem, run:

1
gem install algolia

To use the Search client, add this import to your files:

1
require "algolia"

To create an instance of the client:

1
client = Algolia::SearchClient.create("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY")

List of methods

Each method makes one request to the Search API. The Search API client also includes helper methods that wrap one or more of these methods. For more information, see Helper methods.

Records

Indices

Synonyms

API keys

Rules

Dictionaries

Clusters

Vaults

Advanced

Did you find this page helpful?
Ruby API clients v3