I work on data portability in cloud databases so my portability patterns consist of two migration patterns. as result, it not much silly as you thought ;-)
___________________________________________________________________________________________
I only want to export indexed properties but in a specific way , I must to know the owner of those properties.
for example I loop in every nodes. I must to realized that node has some indexed properties. then extract them in XML or something else ( SQL Table).
for example the following code is in Neo4j Document
IndexManager index = graphDb.index();
Index<Node> actors = index.forNodes( "actors" );
Node reeves = graphDb.createNode();
actors.add( reeves, "name", "Keanu Reeves" );
so I want to get the following output from the above code. Please notice the function must be work with any graph. that means we do not have any knowledge about index name ("actors"), properties key ("name").
<Node ID=1>
<Indexs name="actors">
<Index key="name" value="Keanu Reeves" />
</indexs>
</Node>
I hope I can say what exactly my problem.