I am new to neo4j and py2neo. I have simple db where each node is a place eg. airport or railway station. I have added these as labels. There is also unique place_id as a property for each node. I want to get the node that corresponds some particular place_id but I dont know label.
I can do this if I know label :
graph.find_one("airport", "place_id", 413)
but I want to do something similar to:
graph.find_one("place_id", 413)
Also Do I need to create some Index? if yes then how ?