Portal Search Results Do Not Include Knowledge Base Articles

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" ],
Was this article helpful?
0 out of 0 found this helpful