Yeah but the same behaviour appears if i do this:
this.graph.createEdgeType("edge", "E");
this.graph.createKeyIndex("value", Edge.class);
Edge edge = this.graph.addEdge("edge", outVertex, inVertex, "example");
if(property != null) {
edge.setProperty("value", property);
}
So i have a subclass of E. All edges are instances of this class.
And i created an index for all Edges over the property "value".
So there shouldnt be a problem anymore or am i wrong?
Am Donnerstag, 17. April 2014 09:17:03 UTC+2 schrieb Andrey Lomakin:
>
> Hi ,
> It is not a bug.
> When you add properties for edges they have to be created some where that
> is why class and record with given class will be created .
>
--
---
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.