attempt to fix backward compatibility problem, for long deprecated index without definition
@@ -1511,6 +1511,10 @@ public class ODatabaseImport extends ODatabaseImpExpAbstract {
i++;
}
+ if (indexDefinition == null) {
+ indexDefinition = new OSimpleKeyIndexDefinition();
+ }
+
final OIndex index = indexManager
.createIndex(indexName, indexType, indexDefinition, clusterIdsToIndex, null, metadata, indexAlgorithm);
