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

Function-based indexing don't support ordering

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.24.0, 1.22.1
    • Component/s: None
    • Labels:
      None

      Description

      The documentation at http://jackrabbit.apache.org/oak/docs/query/lucene.html#function-based-indexing says "Function-based indexes can for example allow to search (or order by) the lower case version of a property."

      While technically it's true, it leads to believe that "order by" uses the index efficiently. Unfortunately, it does not, as all entries are read.

        Attachments

        1. OAK-8845_1.patch
          33 kB
          Nitin Gupta

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: