Expand my Community achievements bar.

SOLVED

AEMaaCS - QueryBuilder: is it possible to set excerpt length using OOTB features?

Avatar

Level 2

Is it possible to set excerpt length in query results, using AEMaaCS OOTB features?

 

I'm using QueryBuilder to execute fulltext queries on content pages on AEMaaCS.

The excerpt extraction is working, calling hit.getExcerpt(), but the excerpt length is limited to 150 characters.

I've seen on the web that it is a known problem, see [1], because this limit seemed to be hard coded in the class that implements the Hit interface (com.day.cq.search package), but in in a later documentation page, i.e. [2], there are a couple of details that give me hope:

  1. "By default, the character limit for the excerpt property is set to 150 characters". Saying "by default", it suggests that the limit can be overridden somehow.
  2. In the "Resolution" section, there is what could be a feature request code ("FR# ASSETS-16621"), so the excerpt length configuration feature could have been added after [1].

So, can the excerpt length be changed, and how?

 

Thanks,

 

Filippo

 

 

[1] https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/excerpt-property-in-aem-lu...

[2] https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-20748 

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

@Shashi_Mulugu I followed your suggestion and opened a support ticket, thanks.

Adobe support response says that the 150-characters limit is a "fixed default", meaning that currently it can't be configured, and the "FR# ASSETS-16621" ticket hasn't been prioritized, so I think it will remain not configurable in the currently planned releases too.

View solution in original post

2 Replies

Avatar

Community Advisor

@FilippoDT work with Adobe technology support to get that hot fix package 

Avatar

Correct answer by
Level 2

@Shashi_Mulugu I followed your suggestion and opened a support ticket, thanks.

Adobe support response says that the 150-characters limit is a "fixed default", meaning that currently it can't be configured, and the "FR# ASSETS-16621" ticket hasn't been prioritized, so I think it will remain not configurable in the currently planned releases too.