Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Hung Dx
Problem with Open Search On Liferay 6.1?
19. September 2012 19:52
Antwort

Hung Dx

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 8. September 2011

Neue Beiträge

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?
Brian Scott Schupbach
RE: Problem with Open Search On Liferay 6.1?
4. März 2013 07:58
Antwort

Brian Scott Schupbach

Rang: Expert

Nachrichten: 329

Eintrittsdatum: 23. Oktober 2008

Neue Beiträge

Hi Hung,

Did you ever get this figured out? I'm using GA2
Rahul Pande
RE: Problem with Open Search On Liferay 6.1?
15. März 2013 00:43
Antwort

Rahul Pande

Rang: Expert

Nachrichten: 308

Eintrittsdatum: 6. Juli 2010

Neue Beiträge

Hi Hung,

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

Thanks
Rahul