OOTB搜尋結果中的摘要屬性限製為150個字元

依預設,摘錄屬性的字元限制設為150個字元,這就是OOTB搜尋中的摘錄結果限製為150個字元的原因。

說明 description

環境

Adobe Experience Manager as a Cloud Service

問題/症狀

OOTB搜尋結果中的摘錄屬性限製為150個字元。

要再現的步驟:

  1. 在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
    
  2. 結果點選陣列具有稱為摘錄的屬性,其會提供相符的文字。

    "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