Excerpt Property in OOTB Search Results is Restricted to 150 Characters

Description description

The excerpt property in OOTB search results is restricted to 150 characters and to replicate

1. 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

2. Results 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 strongcorporate/strong imagery concept.", "name": "corporate-imagery", "title": "Corporate imagery", "lastModified": "2021-01-27 13:55:05", "created": "2020-11-09 07:33:37" }

3. By default character limit for exerpt property is restricted to 150 characters.

Resolution resolution

FR# ASSETS-16621 - Excerpt Property in OOTB Search Results is Restricted to 150 Characters.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f