Hi,
I have to check certain conditions and filter on around 10k vertices and planning to use multi query.
TitanMultiVertexQuery mq = graph.multiQuery();
mq.direction(BOTH).labels("sibling");
for (Vertex f : v.getVertices(BOTH,"friend")) {
mq.addVertex((TitanVertex)f);
Map<TitanVertex,Iterable<TitanVertex>> results = mq.vertices();
As per the example above, since I am adding each vertex to the multi-query (text in bold and red), I have already downloaded the vertex . If I have to add 10K vertices to my muti query, that itself is going to take a considerable amount of time.
Is my understanding wrong or can any one help me understand how this is going to give performance improvement?