Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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 ?