Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6188

Provide index aggregate for mgnl:page in JR indexing configuration

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.4
    • None
    • core
    • None

    Description

      Contents in a page are found not only in the node whose primaryType is mgnl:page but also in its sub-nodes mgnl:area and mgnl:component. Adding the latter two to the JR index aggregate would allow for simpler, more accurate and possibly faster searches by simply doing e.g.

      select * from [mgnl:page] as p where contains(p.*, 'foo')
      

      rather than

      select * from [nt:base] as p where contains(p.*, 'foo')
      

      and then post-processing the results in Java by getting for each node the ancestor of type mgnl:page and finally discarding duplicates.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD