android_small_white Created with Sketch.

Manage Indices

Create an index

To create an index, you need to perform any indexing operation like:

  • set settings
  • add object

List indices - listIndexesAsync

You can list all your indices along with their associated information (number of entries, disk size, etc.) with the listIndexesAsync method:

client.listIndexesAsync(new CompletionHandler() {
    public void requestCompleted(JSONObject content, AlgoliaException error) {
        // [...]