Enabling search for guestbook entries in the Guestbook portlet takes two steps:
-
Create an
EntryIndexer
class that extends Liferay DXP’sBaseIndexer
abstract class. -
Update
EntryLocalServiceImpl
’saddEntry
anddeleteEntry
methods to invoke the guestbook entry indexer.
When you finish, all the back-end search and indexing work for both entities will be complete, leaving only the UI changes to complete.