OOTB搜索结果中的摘录属性限制为150个字符
默认情况下,摘录属性的字符限制设置为150个字符,这就是OOTB搜索中的摘录结果限制为150个字符的原因。
描述 description
环境
Adobe Experience Manager as a Cloud Service
问题/症状
OOTB搜索结果中的摘录属性限制为150个字符。
重现问题的步骤:
-
在OOTB搜索结果查询生成器之上准备自定义查询,例如:
code language-none path=/content/company/brand/portal/en type=cq:Page group.p.and=true group.1_fulltext=corporate p.offset=0 p.limit=-1 -
结果点击数组的属性名为excerpt,用于提供匹配的文本。
"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 — 默认情况下,OOTB搜索结果中的摘录属性的字符限制限制为150个字符。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f