Hum maybe a bug in the Java API then ? Here is my piece of code
graphDb.createVertexType("Person"); OrientVertexType type= graphDb.getVertexType("Person"); type.createProperty("name", OType.INTEGER).createIndex("UNIQUE_HASH_INDEX"); type.createProperty("age", OType.INTEGER).createIndex("NOTUNIQUE"); type.getProperty("age").createIndex("NOTUNIQUE_HASH_INDEX"); I'm trying to create an SBTree index and Hash index on the age property. The last line yields the error : Index with name person.age already exists. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.