Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3693

Lucene configuration - aggregation definition : problem with include-property tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.6.6
    • indexing
    • None

    Description

      In our example , we want to limit the properties to search on for Dam Assets on "jcr:title" metadata property.

      In http://wiki.apache.org/jackrabbit/IndexingConfiguration I see aggregation can be defined at property level.

      Following the example, I tried 2 different config :
      1)

      <aggregate primaryType="dam:Asset">
      		<include>jcr:content/metadata</include>
              <include-property>jcr:content/metadata/jcr:title</include-property>
          </aggregate>

      2)

      <aggregate primaryType="dam:Asset">
              <include-property>jcr:content/metadata/jcr:title</include-property>
      property>
          </aggregate>

      and then tried the result of each performing a fulltext search like /jcr:root/content/dam/geometrixx/offices//element(,dam:Asset)[jcr:contains(., 'somevalue')]

      Problem : in config 1) , if another property on the metadata node has this value , the search returns the corresponding node.
      In config 2) , nothing is found even if jcr:title has the value 'somevalue'...

      Attachments

        1. JCR-36963.patch
          5 kB
          Alex Deparvu

        Activity

          People

            baedke Manfred Baedke
            gschneck Geoffroy Schneck
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: