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

Expose PropertyIndex stats

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.31, 1.2.15, 1.4.3, 1.5.1, 1.6.0
    • query
    • None

    Description

      It would be good to have some stats exposed around property index specially for those based on ContentMirrorStoreStrategy

      The index structure is like

      oak:index
        + status
          + :index
            + PASS
              + etc
                + workflow
                  + instance
                    + a
                      - match = true
            + FAIL
              + etc
                + workflow
                  + instance
                    + b
                      - match = true
      
      1. List of values being indexed - Like FAIL, PASS etc or count
      2. Path of content being index - Say path upto 3 levels where given property exists. For above case it would be /etc/workflow/instance

      #2 can be used to come up with right values for includedPaths OAK-3263. Having includedPath has benefits in terms of

      1. Faster reindexing times
      2. Make commits faster - Each property index currently contributes one IndexEditor and this editor would participate in each commit. If number of property indexes are high then it would lead to slow down in commit rates (OAK-1273). So having includedPath would allow reduction in number of editors that participate in a commit

      Attachments

        1. OAK-4144-v1.patch
          12 kB
          Chetan Mehrotra
        2. property-index-stats.png
          62 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: