Yes,
That sounds like a plan. Have you checked out the spatial support, with a Well Known Text property to hold the points?
Could you include an example of a query you have tried, and the result you expected?
Like you mention, you need an index lookup (or a node id) for Cypher to start from. It currently does not let you look globally for unindexed properties.
I'm not super familiar with the spring integration.. does the @indexed in the beginning of the entity mean all attributes are indexed?
If so, you should be able to do something like:
START nodes=node:locationsIndex(latitude=100, longitude=200)
RETURN nodes
Sent from my phone, please excuse typos and brievety.
Location findByLatitudeAndLongitude(final float latitude, final float longitude);
@Query("START location=node:locationsindex({0}) RETURN location")findByLocationQuery(String locationQuery)