I am seeking a way for doing traversals on a neo4j graph which is dynamically created from billions of Indexed Solr document Fields.
The relationships that should be created are for example:
Document FieldA Value - [Document text answers the solr query XYZ:XYZ] -> Document FieldB Value
I want to have thousands of rules like that and additionally, I want Neo4j to be consistent (most of the time) with the data in Solr.
The wanted Queries XYZ are not known in advance.
I have already written a Solr RequestHandler that generates these relationships according to user request.
But, what is missing is the ability to trace back easily from the data in Neo4j to the data in Solr from which it came.
Another problem is that each insertion from Solr to Neo4j is very time consuming.
I seek a solution for somehow to integrate both engines more seamlessly.
Anyone knows of what is the best approach for achieving this?