繁体   English   中英

挂钩Web Content Search Portlet

[英]To Hook Web Content Search Portlet

如何定制Web内容搜索Portlet的搜索

我试图在portal-ext.properties中添加以下内容,但似乎不起作用。 结果始终是“找不到与关键字a相匹配的页面”。

com.liferay.portlet.blogs.util.BlogsOpenSearchImpl=true
com.liferay.portlet.bookmarks.util.BookmarksOpenSearchImpl=true
com.liferay.portlet.calendar.util.CalendarOpenSearchImpl=true
com.liferay.portlet.directory.util.DirectoryOpenSearchImpl=true
com.liferay.portlet.documentlibrary.util.DLOpenSearchImpl=true
com.liferay.portlet.imagegallery.util.IGOpenSearchImpl=true
com.liferay.portlet.journal.util.JournalOpenSearchImpl=true
com.liferay.portlet.messageboards.util.MBOpenSearchImpl=true
com.liferay.portlet.wiki.util.WikiOpenSearchImpl=true

它仅在Web内容文件和日记文章中搜索。 我不知道该怎么办。 请帮忙。 谢谢

请尝试从Liferay控制面板中的服务器设置中为搜索索引重新编制索引。 如果这样做没有帮助,请尝试在控制面板中提高日志记录级别。 设置:com.liferay.portal.search.lucene.LuceneIndexSearcherImpl进行调试,或者根据需要甚至更高。 查看服务器输出,并检查那里是否发生了有趣的事情。 但是我的第一个猜测是搜索索引损坏。

Web内容搜索 portlet仅搜索Web内容文章。 它们必须是JournalArticle类型才能进行搜索。

您可以尝试使用搜索 portlet。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM