Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1196

Optimize queries for DescendantSelfAxisWeight/ChildAxisQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • jackrabbit-core, query
    • None

    Description

      A query like

      /documents/en/news//*[@modificationDate] order by @modificationDate

      when there are many nodes ( > 1.000) in /documents/en/news becomes very slow. I think the bottleneck is in something like recursive filters in lucene. First off all I'll try to find some stastistics about the performance, and describe the bottleneck. After that, a solution must be found, where we need to keep in mind that

      1) these queries run faster and scale better (obviously)
      2) moving a node must stay a cheap operation

      Also see:

      http://www.nabble.com/Search-performance--%3A-MultiIndex-tf4695559.html#a13421949

      Attachments

        1. jcr-repository-xml-dump.xml.bz2
          558 kB
          Martin Zdila

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              aschrijvers Ard Schrijvers
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: