I am very new to neo4j. I am running the shell under Windows. I have created a node called: user and I have got index on id. User has got id and name properties.
I have created a relationship called friends. (user1, user2)
neo4j.properties is set to:
# Enable auto-indexing for nodes, default is false
node_auto_indexing=true
# The node property keys to be auto-indexed, if enabled
node_keys_indexable=id
# Enable auto-indexing for relationships, default is false
relationship_auto_indexing=true
# The relationship property keys to be auto-indexed, if enabled
relationship_keys_indexable=user1,user2
My questions are:
1- When i type: :schema ls, it shows:
Indexes
ON :User(id) ONLINE
No constraints
Why does it not show the index on the relationship?
2- How can i manually create an index on the relationship using shell?