waleedahmed0001 commented on issue #920:
URL: https://github.com/apache/age/issues/920#issuecomment-1546877961

   To create an index on the "roll" property of the "Person" node, you can use 
the following Cypher query:
   
   `CREATE INDEX ON :Person(roll)`
   
   If  you want to retrieve data based on this index, you can use this command
   `MATCH (p:Person)
   USING INDEX p:Person(roll)
   WHERE p.roll = 10
   RETURN p`
   
   This query uses the index on the "roll" property of the "Person" node to 
quickly find all nodes where the "roll" property is equal to 10.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to