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

Node name queries should use an index

    XMLWordPrintableJSON

Details

    Description

      The node name queries don't use any index currently, making them really slow and triggering a lot of traversal warnings.

      Simply adding node names to a property index would be too much content indexed, but as Lucene already indexes the node names, using this index would be one viable option.

      /jcr:root//*[fn:name() = 'jcr:content']
      /jcr:root//*[jcr:like(fn:name(), 'jcr:con%')] 
      

      Attachments

        1. OAK-1752.patch
          17 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              stillalex Alex Deparvu
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: