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

Using "order by jcr:score" slows down queries by a few orders of magnitude

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 1.0.8
    • 1.0.13, 1.1.7
    • lucene
    • None
    • Linux 2.6.32-431.23.3.el6.x86_64 VM,
      16GB RAM
      4 Core Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz

    Description

      The following query takes over 16 seconds to run on our QA system:
      /jcr:root/content/help/en//*[jcr:contains(., 'illustrator')] order by jcr:score

      Removing the "order by jcr:score" reduces the query time to 14ms

      The time taken increases linearly with the amount of content in our repository.

      Attachments

        1. OAK-2295.patch
          13 kB
          Amit Jain

        Activity

          People

            thomasm Thomas Mueller
            psen Punyanjan Sen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: