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

Refactor Paging in Lucene Catalog

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.3
    • 1.1
    • file manager
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: