Hello Team, The use case is to draw pagination in UI for all the nodes fetched on the basis of a search query. For that, we fetch 10 records on one page. But also, we need to get the total number of records matching our query.
Currently, there doesn't seem to get the count directly for a query, as we do in RDBMS like SELECT COUNT(*) FROM <TABLE_NAME> WHERE <SOME_FILTERS>. What is being done right now is to get all the nodes in memory and calculate the size which would be costly in terms of processing as the number of nodes will increase. There was a ticket created for this https://issues.apache.org/jira/browse/OAK-9319. Any update for that? Or any workaround/help to get the count of nodes in quick time response. Regards, Vishnu Aggarwal