writing to neo4j and elasticsearch