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

Add a way to do not compute page provider aggregation on demand

    Details

    • Release Notes Description:
      Hide

      It enables a way to skip aggregates computation, making the request potentially faster. This is used on a range or pagination queries as there is no need to update aggregates.
      This can be used by adding skipAggregates=true as a HTTP header when invoking the search rest endpoint.

      Show
      It enables a way to skip aggregates computation, making the request potentially faster. This is used on a range or pagination queries as there is no need to update aggregates. This can be used by adding skipAggregates=true as a HTTP header when invoking the search rest endpoint.
    • Browser:
    • Upgrade notes:
      Hide

      You can add the skipAggregates=true http header when invoking the search rest endpoint to skip any aggregation computation on a page provider query.

      Show
      You can add the skipAggregates=true http header when invoking the search rest endpoint to skip any aggregation computation on a page provider query.
    • Sprint:
      nxGang Sprint 10.2.8
    • Story Points:
      2

      Description

      This would be useful to speed up searches with lazy scrolling in Web UI.

      Indeed, each time we scroll, we need to fetch a range of items but it uselessy recomputes aggregations despite parameters did not change.

        Attachments

          Issue Links

            Activity

            Show
            grenard Guillaume Renard added a comment - WIP: https://github.com/nuxeo/nuxeo-elements/commit/398692ba1799edde6305265d9b7ad2a05557003f https://github.com/nuxeo/nuxeo-ui-elements/commit/d8980dbd195ae81141c912598c7b0d2de051ac9e https://github.com/nuxeo/nuxeo/commit/805b144a8de735fd0ceaaa6fe9e67ab7b29f8a32
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/nuxeo-master #1715
            NXP-25158: allow to skip aggregations with http header (guirenard: 60dafc1aad3e462c67e4d65300946495e2398aa9)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/nuxeo-master #1715 NXP-25158 : allow to skip aggregations with http header (guirenard: 60dafc1aad3e462c67e4d65300946495e2398aa9 )

              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 - 1 day
                  1d