AEM Fulltext Search Modification

Avatar

Avatar
Validate 1
Level 1
binoyp
Level 1

Like

1 like

Total Posts

25 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
binoyp
Level 1

Like

1 like

Total Posts

25 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
binoyp
Level 1

05-07-2020

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.

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

06-07-2020

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