<?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 Pagination total count and performance issues in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252249#M205379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have implemented server side pagination for one of my requirements in alfresco share. In which I am doing below things in a JS based webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Fire a lucene query and get the total count of records from the result received&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Perform the same query giving paging objects and prepare JSON response of resulted records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have observed that - getting the records count in step-1 above is taking a long time. Hence, the performance is degraded. I have around 15000+ records and it may get extended to more than it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked giving the hard-coded value for total count and then performance of the pagination is really good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone please help me how can I get the count of records using lucene and get the good performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 16:24:07 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2012-01-17T16:24:07Z</dc:date>
    <item>
      <title>Pagination total count and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252249#M205379</link>
      <description>Hi All,I have implemented server side pagination for one of my requirements in alfresco share. In which I am doing below things in a JS based webscript.1. Fire a lucene query and get the total count of records from the result received2. Perform the same query giving paging objects and prepare JSON r</description>
      <pubDate>Tue, 17 Jan 2012 16:24:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252249#M205379</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2012-01-17T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination total count and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252250#M205380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The latest versions of alfresco have paging APIs.&amp;nbsp;&amp;nbsp; Its not easily solved on older code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 17:41:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252250#M205380</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-01-17T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination total count and performance issues</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252251#M205381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Alfresco v 3.4.3. Could you please provide me the direction to achieve the good performance for getting the total count of records. If this is solved, then there is no other issue for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking forward to your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 04:43:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pagination-total-count-and-performance-issues/m-p/252251#M205381</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2012-01-18T04:43:23Z</dc:date>
    </item>
  </channel>
</rss>

