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

Query: support pseudo properties like jcr:score() and rep:excerpt()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.20
    • core
    • None

    Description

      The query engine currently only supports properties that are stored within a node. It doesn't currently support "pseudo-properties" that are provided by an index, for example jcr:score() and rep:excerpt().

      To support such properties, I suggest to change the Cursor interface to return an "IndexRow" (a new class that can return such pseudo-properties as well as the path) instead of just the path.

      This may also speed up queries that don't require to load the node itself (if access rights can be checked efficiently or don't need to be checked for a given query).

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: