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

Without "counter" index, some queries use traversal instead of an index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.2
    • 1.3.0, 1.4
    • query
    • None

    Description

      The "counter" index maintains an approximate node counter.

      If this index is available, for some queries that contain a path restriction, traversing is sometimes faster than using the index.

      If the index is not available, typically traversal should not be used. However, it looks like for some reason traversal is used for some queries (I need to investigate in what cases exactly, and why). This need to be fixed.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: