indices function

Index API operations