Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6166

Provide size estimate in simple paged results response control

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 6.5.0
    • Fix Version/s: Not applicable
    • Component/s: core server
    • Labels:
      None
    • Story Points:
      0
    • Support Ticket IDs:

      Description

      Customer wishes to have FR DS return estimated size in the simple paged results response control:

      Can we create requirement to support size estimation on single page controls? We need this functionality for sure, because we don't want to create index for each role if we use VLV index. Seems simple page is the better option for us.

      And we need to know how many entries are matching, which will give the client better usability.

      So we need the size estimation on single page controls.

      Have already informed customer that the FR DS does not provide a size estimate in the response control and thus sets it to 0.

      Q: But with simple paged result, how can I know how many records are matching?
      A: RFC 2696 for the simple paged results control has this to say:

      In the control returned to the client, the size MAY be set to the server's estimate of the total number of entries in the entire result set. Servers that cannot provide such an estimate MAY set this size to zero (0).

      And there is also OPENDJ-1428 that had addressed the same matter in the past.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                vincent.tran Vincent Tran
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: