new BasicDBObject(Data.JSON_KEY_OWNER, 1),
DB_NAME + "_" + Data.JSON_KEY_OWNER + "_index",
false);
// Ensure that there is an index on the schema's ID.
collection
.ensureIndex(
new BasicDBObject(Schema.JSON_KEY_ID, 1),
DB_NAME + "_" + Schema.JSON_KEY_ID + "_index",
false);
// Ensure that there is an index on the schema's version.