[DOCU-561] Document new features and improvements to content search in 5.4 Created: 08/May/15  Updated: 01/Oct/15  Resolved: 07/Sep/15

Status: Closed
Project: Documentation
Component/s: content
Affects Version/s: None
Fix Version/s: mid term

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: search
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLDEMO-16 Implement search using functionality ... Closed
is related to MTE-19 Provide search functionality for temp... Closed
is related to MAGNOLIA-6188 Provide index aggregate for mgnl:page... Closed
is related to MAGNOLIA-6189 Provide highlighting option in search... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 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



 Comments   
Comment by Magnolia International [ 08/Jul/15 ]

Here's an example of what I did to enable this (for demo.magnolia-cms.com)
https://git.magnolia-cms.com/gitweb/?p=internal/demo.magnolia-cms.com.git;a=commitdiff;h=55c62a596943fc7754a63ae71b1ef9417d84ffed

Comment by Ruth Stocks [ 07/Sep/15 ]

Documented at - https://documentation.magnolia-cms.com/display/DOCS/Search

Generated at Mon Feb 12 01:10:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.