You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vishnu Aggarwal (Jira)" <ji...@apache.org> on 2021/01/11 07:00:16 UTC

[jira] [Created] (OAK-9319) Returning the count of nodes based on search query

Vishnu Aggarwal created OAK-9319:
------------------------------------

             Summary: Returning the count of nodes based on search query
                 Key: OAK-9319
                 URL: https://issues.apache.org/jira/browse/OAK-9319
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: oak-search, query
            Reporter: Vishnu Aggarwal


Is there a way to return the count of nodes for a given search query having different filtering clauses in a way, mimicking what we are able to do in a SQL query for eg.,

select count(*) from table_name where <condition> <and/or> <condition>;

 

Can this be replicated in OAK without having to fetch all nodes in memory and then calculating the count of all nodes. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)