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:
- Add search portlet
- Click Configuration
- Click Advanced
- 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" ],
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In