Enabling Search and Indexing for Guestbook Entries

Enabling search for guestbook entries in the Guestbook portlet takes two steps:

  1. Create an EntryIndexer class that extends Liferay DXP’s BaseIndexer abstract class.

  2. Update EntryLocalServiceImpl’s addEntry and deleteEntry 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.

Let’s Go!

« Handling Indexing in the Guestbook Service LayerCreating an Entry Indexer »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0