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:02:00 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-9319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vishnu Aggarwal updated OAK-9319:
---------------------------------
    Description: 
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 an RDBMS 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? 

  was:
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. 


> 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
>            Priority: Critical
>
> 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 an RDBMS 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)