I think i used the wrong index. I used this:
OrientVertexType instance = this.graph.createVertexType("instance", null);
instance.createProperty("property_id", OType.STRING);
instance.createProperty("property_names", OType.EMBEDDEDLIST, OType.STRING);
instance.createProperty("property_alias", OType.EMBEDDEDLIST, OType.STRING);
this.graph.createKeyIndex("property_id", Vertex.class, new
Parameter<String, String>("class", "instance"), new Parameter<String,
String>("type", "UNIQUE_HASH_INDEX"));
this.graph.createKeyIndex("property_names", Vertex.class, new
Parameter<String, String>("class", "instance"), new Parameter<String,
String>("type", "DICTIONARY_HASH_INDEX"));
this.graph.createKeyIndex("property_alias", Vertex.class, new
Parameter<String, String>("class", "instance"), new Parameter<String,
String>("type", "DICTIONARY_HASH_INDEX"));
What leads to the exception.
When i use createIndex instead it works on 1.7rc2 and with the lates
1.7-SNAPSHOT
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.