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
BedrockMission!

Learn more

View all

Sign in to view all badges

AEM Fulltext Search Modification

binoyp
Level 2
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.

 

 

 

AEM AEM Search.
2 Replies
asutosh_jena
Community Advisor
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.

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