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

Provide index aggregate for mgnl:page in JR indexing configuration

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: core
    • Labels:
      None
    • Magnolia Release:
      5.4

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: