OIndex i = (OIndex)in;
if (indicesName.contains(i.getName())){
//migrate the index
Logger.info("....." + i.getName());
OIndexCursor cursor = i.cursor();
Set<Entry<Object, OIdentifiable>> entries = cursor.toEntries();
Iterator<Entry<Object, OIdentifiable>> it = entries.iterator();
while (it.hasNext()){
Entry<Object, OIdentifiable> entry = it.next();
String key = (String) entry.getKey();
Object valueOnDb=entry.getValue();