Expand my Community achievements bar.

AEM Fulltext Search Modification

Avatar

Level 2

Hi All,

 

Just wondering how to tweak the existing search component to fit the scenario of a search results page.

Is there any way to fetch the entire property value , if the fulltext is found within the particular node ? 

 

Assumption : Property name containing the text may not be same throughout as different custom components are used.

 

Using a getProperties on the valueMap appears to be giving all the properties on the matched node.

How can we fetch only the entire value of the property containing the search term.

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

@binoyp do you mean by search excerpt? Can you please explain a bit more on this? I am not clear about the ask here.

Avatar

Level 2
Yes, i wanna display the search excerpt as well . How can i go about it ?