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

Enable to set bulk query limit from PP rest invokation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF55, 2021.12
    • Component/s: Bulk
    • Release Notes Summary:
      A query limit can be enforced from Page Provider REST invokation.
    • Backlog priority:
      850
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #48, nxplatform #49
    • Story Points:
      0

      Description

      Since NXP-29585 bulk command can be limited, this can be done at action definition or from the bulk command builder, but this is not available when invoking the bulk action from a PP using rest.

      The same way we can force the scroller with NXP-28086 we want to be able to set a queryLimit like:

      curl -v -X POST -H "Content-Type: application/json" "localhost:8080/nuxeo/api/v1/search/bulk/s3SetBlobLength?query=SELECT%20*%20FROM%20File&scroll=elastic&queryLimit=10000" -u Administrator:Administrator -d '{"force": true, "xpath": "content"}'
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: