Refactor Paging in Lucene Catalog
---------------------------------

                 Key: OODT-417
                 URL: https://issues.apache.org/jira/browse/OODT-417
             Project: OODT
          Issue Type: Improvement
          Components: file manager
    Affects Versions: 0.3
            Reporter: Paul Ramirez
            Assignee: Paul Ramirez
            Priority: Minor
             Fix For: 0.4


Instead of doing a skip we can just use an item from the last page to augment 
the query. This would allow us not to scan through a set of docs and the fist N 
could be used; where N = page size. We already naturally sort by 
"CAS.ProductReceivedTime" so the idea is just to use the last page's last item 
and make sure we query for items greater than that. This should speed things up 
especially when hitting later pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to