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

Support indexed based excerpts on properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: lucene
    • Labels:
      None

      Description

      As discovered in OAK-4401 we fallback to SimpleExcerptProvider when requesting excerpts for properties.

      The issue as highlighted in Tommaso Teofili's comment [0] is that we at time of query we don't have information about which all columns/fields would be required for excerpts.

      A possible approach is that the query specified explicitly which columns would be required in facets (of course, node level excerpt would still be supported). This issue is to track that improvement.

      Note: this is not a substitute for OAK-4401 which is about doing saner highlighting when SimpleExcerptProvider comes into play e.g. despite this issue excerpt for non-stored fields (properties which aren't configured with useInExcerpt in the index definition}, we'd need to fallback to SimpleExcerptProvider.

      /Terry Mueller

      [0]: https://issues.apache.org/jira/browse/OAK-4401?focusedCommentId=15299857&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15299857

        Attachments

        1. OAK-7151.patch
          32 kB
          Vikas Saurabh
        2. OAK-7151.xpath.patch
          8 kB
          Vikas Saurabh
        3. OAK-7151.xpath-new-syntax.patch
          7 kB
          Vikas Saurabh

          Issue Links

            Activity

              People

              • Assignee:
                catholicon Vikas Saurabh
                Reporter:
                catholicon Vikas Saurabh
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: