Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-2083

[Forward port 2.16.2] Jackrabbit breaks <index-rule> with condition

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • jackrabbit-2.16.2-h2
    • None
    • None
    • Flagged
    • Turing Team 187

    Description

      To exclude HTML fields for a specific document type from being indexed, an <index-rule> element with a condition attribute was added to the indexing_configuration.xml.

        <index-rule nodeType="hippostd:html"
                    condition="@element(mynamespace:comments, hippostd:html)/@jcr:primaryType='{http://www.onehippo.org/jcr/hippostd/nt/2.0}html'">
        </index-rule>
      

      This works in Hippo 10.2.10 with Jackrabbit patch version 2.10.1-h16.

      This no longer works in Hippo 10.2.11 with Jackrabbit 2.16.1-h1 (hence REPO-2026) , but also doesn't work in Hippo 10.2.12 with Jackrabbit 2.16.1-h2.

      Apparently, the condition is not evaluated so all HTML fields are excluded from the index.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: