OOTB 検索結果の Excerpt プロパティが 150 文字に制限されています
デフォルトでは、excerpt プロパティの文字数の制限は 150 文字に設定されています。そのため、OOTB 検索での excerpt の結果は 150 文字に制限されます。
説明 description
環境
Adobe Experience Manager as a Cloud Service
問題/症状
OOTB 検索結果の excerpt プロパティは 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 検索結果の excerpt プロパティの文字数は 150 文字に制限されています。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f