legacy-knowledge-base
公開されました Jul. 2, 2025

ポータル検索結果にナレッジベースの記事が含まれない

written-by

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

この記事はレガシー記事です。 以前のバージョンのLiferay製品にも適用されます。 記事がメンテナンスされなくなったとはいえ、まだ該当する可能性があります。

Liferay ポータル内でコア検索ポートレットを使用しようとすると、表示される結果にナレッジベースの記事が含まれていません。

決議

デフォルトでは、ナレッジベースの記事は検索結果に含まれません。 これは、Knowledge BaseプラグインがデフォルトのLiferayコアプラグインの一部ではないためです。

グローバル検索の結果にナレッジベースの記事を含めるには、以下を実行してください。

  1. 検索ポートレットの追加
  2. 設定をクリックします。
  3. 詳細設定をクリックします。
  4. 追加(データ値をこれに置き換える)。
"data":
{ "values":
[ "com.liferay.knowledgebase.model.KBArticle",
"com.liferay.portlet.bookmarks.model.BookmarksEntry",
"com.liferay.portlet.blogs.model.BlogsEntry",
"com.liferay.portlet.calendar.model.CalEvent",
"com.liferay.portlet.documentlibrary.model.DLFileEntry",
"com.liferay.portlet.journal.model.JournalArticle",
"com.liferay.portlet.messageboards.model.MBMessage",
"com.liferay.portlet.wiki.model.WikiPage",
"com.liferay.portal.model.User" ],
did-this-article-resolve-your-issue

legacy-knowledge-base