<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: COUNT nodes in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84440#M25746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't quite figure out how to get this "numberFound" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/26249_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried something like that, but I don't see the number of nodes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2019 08:23:37 GMT</pubDate>
    <dc:creator>nonets</dc:creator>
    <dc:date>2019-05-02T08:23:37Z</dc:date>
    <item>
      <title>COUNT nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84438#M25744</link>
      <description>We're launching queries like that:&amp;nbsp; &amp;nbsp; TYPE:"ts:FolderSet" and ANCESTOR:"workspace://StoreSpaces/234230..."We need to count how many nodes are matching above condition instead of getting a list of nodes.We're launching this query using /share TFS-Alfresco queries.Any ideas?</description>
      <pubDate>Thu, 25 Apr 2019 09:19:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84438#M25744</guid>
      <dc:creator>nonets</dc:creator>
      <dc:date>2019-04-25T09:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84439#M25745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. Since this type of query will have to use the SOLR index, simply use the "numberFound" attribute contained in the search response / result set. That gives you the total number of nodes matching that query (that the current user is allowed to see). You can always set the "maxItems" parameter for search to 1, so you don't get a lot of results back (can't set it to zero though).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 10:51:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84439#M25745</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-04-25T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84440#M25746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't quite figure out how to get this "numberFound" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/26249_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried something like that, but I don't see the number of nodes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 08:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84440#M25746</guid>
      <dc:creator>nonets</dc:creator>
      <dc:date>2019-05-02T08:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: COUNT nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84441#M25747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot from the Node Browser tool. You need to access the low-level ResultSet obtained by searching via the SearchService#query (Java) or Search#query (JavaScript) API operations. Alternatively, if you are looking for the whole number without permission checks (you are checking as admin after all), you can simply do a database query or check the SOLR index (schema browser) via its admin UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 08:29:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/count-nodes/m-p/84441#M25747</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-05-02T08:29:44Z</dc:date>
    </item>
  </channel>
</rss>

