2016-07-28 62 views
0

我使用Java API創建的屬性和指標:OrientDB的Java API dropIndex

OrientVertexProperty orientVertexProperty = orientClass.createProperty(currentPropDef.getName(), currentPropertyType); 

orientVertexProperty.createIndex(INDEX_TYPE.NOTUNIQUE); 

但沒有下降或刪除索引方法。
如何使用JAVA API刪除索引?

回答

0

試試這個:

g.dropIndex("<class name>.<indexend property>"); 

希望它能幫助。

問候。