neo4j-contrib / neo4j-elasticsearch

Neo4j ElasticSearch Integration
Apache License 2.0
210 stars 79 forks source link

Ideas for cross-store querying #6

Open jexp opened 9 years ago

jexp commented 9 years ago

Provide an code-example for

match (p:Product)<-[:CONTAINS]-(o:Order)<-[:ORDERED]-(person)-[:LIVES_IN]->(place) 
WHERE id(place) IN {ids}
RETURN person.name, collect(distinct p.name), sum(o.value)

Details.