public void ensureIndex ( final DBObject keys , final DBObject optionsIN ) throws MongoException { dbCollection . ensureIndex ( keys , optionsIN ) ; }
Creates an index on a set of fields if one does not already exist .