private void saveIndexMeta(final String type, final String indexName, final String className, Set<String> keys){
JRedis db = this.graph.getDatabase();
try {
if (type.equals(RedisIndexKeys.AUTO)) {
db.lpush(RedisIndexKeys.META_INDICES_AUTO, indexName);
db.set(RedisIndexKeys.META_AUTO + indexName + ":class", className);
if(null != keys){
String key_list = RedisIndexKeys.META_AUTO + indexName + ":keys";
for(String key : keys){
db.sadd(key_list, key);