IBM Developer Advocacy

Cloudant Learning Center – Indexes

Overview of indexes and queries in Cloudant

This video introduces you to the different types of indexes that you can create to query the data in your database, and explains the typical use cases for each type of index.

To learn more, read the indexes documentation.

Index Feature Comparison

The following table provides a breakdown of Cloudant Index options and functionality. ▼More

The Primary Index

The primary index is the fastest way to retrieve data from your database and is available out-of-the-box which means you don’t have to write any code before you can use it. Watch this short video to see how to query the primary index.

Before starting the tutorial, if you haven’t created a Cloudant account yet, complete the steps on the Get Started page.

Tutorial: Query the primary index

Now try it for yourself! This tutorial walks you through querying the primary index. ▼More

As your data grows, you’ll want to explore Cloudant Query, which allow you to build additional indexes over your database.