What is the Java API client?
It’s recommended to use the Kotlin API client, which is better suited for Android development.
The Java API client is an open source, production-ready API wrapper that abstracts from the complexity of directly interfacing with the Algolia Search API. It handles, for example, network retry strategy, record batching, and reindexing strategy.
Algolia officially supports eleven API clients, each in a specific programming language, and tailored to that language’s unique paradigm and ecosystem.
The API clients are an important part of Algolia’s search ecosystem. Using these clients to interact with Algolia is highly recommended.
Source on GitHub
Algolia’s API clients are all open source. You can find the code for the Java API client on GitHub.
If you want to get started quickly with self-contained code examples that you can run directly from your code editor, you can explore the quickstart samples on GitHub.
For a step-by-step tutorial including a minimal search UI, see Quickstart with the Java API client