specify a `indexName` if it isn't provided