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

Provide index aggregate for mgnl:page in JR indexing configuration

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD