Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9740

Add Support For Limit / Offset Options in Queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.42.0
    • 1.44.0
    • query, search
    • None

    Description

      Problem Statement

      When creating queries, developers can specify the limit / offset by calling the appropriate method on the javax.jcr.Query object. However there is not an option to do so in the body of the query statement itself.

      Therefore, when either using an existing UI or existing API that does not support setting these values, it's possible to construct a query that runs against indexed data but still fails due to reading too many nodes.

      Solution

      Add support for setting the offset / limit via options

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              dklco Dan Klco
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: