High-level API for creating secondary indexes