掲示板

Problem with Open Search On Liferay 6.1?

11年前 に Hung Dx によって更新されました。

Problem with Open Search On Liferay 6.1?

New Member 投稿: 1 参加年月日: 11/09/08 最新の投稿
Hi everyone!
I have a problem when adding search apabilities to a custom portlet on Liferay 6.1 CE GA1
by following this wiki post http://www.liferay.com/community/wiki/-/wiki/Main/Adding+search+capabilities+to+a+portlet

1.Create class CustomIndexer to index my custom entity.
2..Create class CustomOpenSearchImpl by extend HitsOpenSearchImpl.
3.Add <indexer-class>CustomIndexer </indexer-class> and <open-search-class>CustomOpenSearchImpl </open-search-class> to liferay-portlet.xml in my custom portlet
4.Update AssetEntry and invoke index/reindex method when add/update/delete custom entity on class CustomEntityLocalServiceImpl.
5.Enable Display Open Search Results checkbox on search portlet configuration page.

But my custom entity is not searchable from search portlet.
So please help me on this problem?
thumbnail
11年前 に Brian Scott Schupbach によって更新されました。

RE: Problem with Open Search On Liferay 6.1?

Expert 投稿: 329 参加年月日: 08/10/23 最新の投稿
Hi Hung,

Did you ever get this figured out? I'm using GA2
thumbnail
11年前 に Rahul Pande によって更新されました。

RE: Problem with Open Search On Liferay 6.1?

Expert 投稿: 310 参加年月日: 10/07/07 最新の投稿
Hi Hung,

In Liferay 6.1, Faceted search is used instead of Open search. You can find more information about it here

Thanks
Rahul