Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-561

Document new features and improvements to content search in 5.4

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • mid term
    • None
    • content

    Description

      Several improvements have been made to search content in 5.4

      • Provide search in content apps
        • namely the ability to create links to content app items and render them nicely
      • Provide index aggregate for mgnl:page in JR indexing configuration
        • see related issue
      • Provide highlighting option in search configuration
        • see related issue
        • Basically here we want JR/Lucene to do the job, instead of resorting to convoluted and probably suboptimal custom code like in info.magnolia.module.templatingkit.search.SearchResultItem
        • see also th index rule for nt:base at /magnolia-core/src/test/resources/info/magnolia/jackrabbit/indexing_configuration.xml where an example is provided to configure indexing so that certain properties (e.g. those containing jcr identifiers) are prevented from being displayed in search excerpt. As properties are specified by name, it is clear that the config has to be adapted on a per project basis when one knows exactly the name of the properties to be excluded.

      All this has required changes to two config files, namely /info/magnolia/jackrabbit/indexing_configuration.xml and all search config files in /magnolia-empty-webapp/src/main/webapp/WEB-INF/config/repo-conf which now enable support for highlighting and specify a custom ExcerptProvider class

      See also https://wiki.magnolia-cms.com/display/PDNOTES/MTE+Concept+Search

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ahietala Antti Hietala
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR