Description
When trying to write some simplifed sample code to index a couple of fields, I typed this:
bucketManager.createIndex("moretypes", Arrays.asList("type", "destinationairport"), true, true);
It turns out though, that's invalid as the signature only takes Object. This is valid:
bucketManager.createIndex("moretypes", Arrays.asList((Object)"type", "destinationairport"), true, true);
But kind of ugly since string and expression are the only valid ones.
Should we add a List<String> overload for createIndex()?