挂钩Web内容搜索Portlet

问题描述:

我将如何自定义搜索Web内容搜索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内容文件和期刊文章中搜索。我不知道该怎么办。请帮忙。谢谢

The 网页内容搜寻 portlet只搜寻网页内容文章。 他们必须键入要搜索的JournalArticle。

您可以试用搜索 portlet。

+1

是的。我使用了Search portlet,并且只是定制了可以在_liferay-developer-studio \ liferay-portal-6.2-ee-sp8 \ tomcat-7.0.42 \ webapps \ ROOT \ html \ taglib找到的** start.jsp ** \ UI \搜索\ start.jsp_ –

请尝试从Liferay控制面板中的服务器设置重新索引搜索索引。如果这没有帮助,请尝试调整控制面板中的日志记录级别。设置: com.liferay.portal.search.lucene.LuceneIndexSearcherImpl调试或更高,如果你喜欢。看看服务器的输出,并检查是否有趣的事情发生在那里。但我的第一个猜测将是一个腐败的搜索索引。