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

To use order by with length(x), user need to set type=Long in the index definition for the function

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs, query
    • Labels:
      None

      Description

      Query with order by length fails to return any result if the function node in the index defintion for length function does not have type = Long set.

      This needs to be documented.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ngupta Nitin Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: