Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22775

Expose page provider offset in Search Rest Endpoint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.2
    • Fix Version/s: 9.3
    • Release Notes Description:
      Hide

      The search endpoint now exposes an "offset" property which is used by the underlying page provider to return results from this offset. If set, the "currentPageIndex" property is ignored.

      Show
      The search endpoint now exposes an "offset" property which is used by the underlying page provider to return results from this offset. If set, the "currentPageIndex" property is ignored.
    • Upgrade notes:
      Hide

      The search endpoint now exposes an "offset" property which is used by the underlying page provider to return results from this offset. If set, the "currentPageIndex" property is ignored.

      Show
      The search endpoint now exposes an "offset" property which is used by the underlying page provider to return results from this offset. If set, the "currentPageIndex" property is ignored.
    • Sprint:
      nxGang Sprint 9.3.2
    • Story Points:
      2

      Description

      Today, we can only use currentPageIndex and pageSize for querying a subset of result through the Search Endpoint.

      The page provider provides a notion of offset that is not exposed by the Rest API.

      It will be useful especially in the context of the implementation of elements with "lazy" scrolling (ELEMENTS-366)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d