Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-417

Refactor Paging in Lucene Catalog

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.3
    • Fix Version/s: 1.1
    • Component/s: file manager
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              pramirez Paul Ramirez
              Reporter:
              pramirez Paul Ramirez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: