legacy-knowledge-base
Publicado Jul. 25, 2002

Portal Search Results Do Not Include Knowledge Base Articles

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

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

When attempting to use the core Search Portlet within the Liferay Portal, the results displayed do not include knowledge base articles.

Resolution

By default, Knowledge Base articles are not not included within the search results. This is because the Knowledge Base plugin is not a part of the default Liferay core plugins.

In order to include Knowledge Base articles within the results of the global search, please perform the following:

  1. Add search portlet
  2. Click Configuration
  3. Click Advanced
  4. Add (replace the data value with this):
"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