The community member has a question about how to change the "name" property in a NebulaGraph database. They are adding relations using the Relation class, and want to know if they need to set the "name" property or if the "label" is sufficient.
The comments indicate that this is a NebulaGraph-related issue, not Neo4j. The community members discuss accessing the label of the nodes, but this does not change the "name" property. They also encounter an issue with a query that fails due to an index not being found.
There is no explicitly marked answer in the comments, but the community members provide some suggestions and insights into the problem, though they are not NebulaGraph experts.
relation = Relation( label="WORKS_FOR", source_id=entity1.id, target_id=entity2.id, ) in order to provide a name, what Should I add? or with label is enough?
I'm still here, but for now this doesn't matter as I'm using proerties(a).label, In this way its possible to access the label of the node, but this doesnt change the name: Relation__@,
if someone has the same doubt, I made this wprks using: MATCH p = (a)-[rel3]-(i)WHERE a.Entity.name == 'Logan'RETURN pbut yet, Idk why this doesn't work:MATCH p = (a:Entity{name: 'Logan'})-[rel3]-(i) RETURN p