Excerpt Property in OOTB Search Results is Restricted to 150 Characters
By default, the character limit for the excerpt property is set to 150 characters, which is why the excerpt results in the OOTB search are confined to 150 characters.
Description
Environment
Adobe Experience Manager as a Cloud Service
Issue/Symptoms
The excerpt property in the OOTB search results is restricted to 150 characters.
Steps to reproduce:
-
Prepare a custom query on top of OOTB search results query builder such as:
path=/content/company/brand/portal/en type=cq:Page group.p.and=true group.1_fulltext=corporate p.offset=0 p.limit=-1
-
Result hits array has property called excerpt, which give matched text.
"hits":
{ "path": "/content/company/brand/portal/en/branding-principles/basic-brand-elements/corporate-imagery", "excerpt": "the digital world, and the basis for an engaging <strong>corporate</strong> imagery concept.", "name": "corporate-imagery", "title": "Corporate imagery", "lastModified": "2021-01-27 13:55:05", "created": "2020-11-09 07:33:37" }
Resolution
FR# ASSETS-16621 - By default, the character limit for excerpt property in OOTB Search Results is restricted to 150 Characters.