make Index api more similar to RappIndexer