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

Lucene: change path indexing and querying

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • lucene
    • None

    Description

      Currently, the queries can not use the path restriction as described in OAK-2134. Using Lucene for the path restriction would be nice, but requires some more work. Two solutions to investigate are:

      • (a) only index the path prefix (for example, the 20 first characters of the path, or only the first 5 path entries), and
      • (b) also index all parent paths of a node (not store those in the document; just index them); when querying, use an exact match for the parent.

      Solution (a) will reduce the index size in most cases, but is not guaranteed to always solve the problem, if there are many nodes that have distinct short path (for example, a counter node near the root node).

      Solution (b) will increase the index size (how much needs to be tested), and would solve the problem.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: