You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (Updated) (JIRA)" <ji...@apache.org> on 2012/04/01 00:30:43 UTC

[jira] [Updated] (OODT-417) Refactor Paging in Lucene Catalog

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

Chris A. Mattmann updated OODT-417:
-----------------------------------

    Fix Version/s:     (was: 0.4)
                   0.5

- push to 0.5
                
> 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.5
>
>
> 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