Querying for nodes without any friends

@artooro: We don’t support finding zero counts as the index size can explode and wouldn’t scale with millions of nodes.

@selmeci You query gets two sorted lists from index and does set difference which is efficient and scales easily. Fetching name, age for million nodes would take time even if done in parallel, so you should ideally use pagination. It would also ensure that there is no spike in memory dude to large number of results and serialisation cost.

2 Likes