Example usage for com.liferay.portal.search.spi.model.index.contributor ModelIndexerWriterContributor interface-usage

List of usage examples for com.liferay.portal.search.spi.model.index.contributor ModelIndexerWriterContributor interface-usage

Introduction

In this page you can find the example usage for com.liferay.portal.search.spi.model.index.contributor ModelIndexerWriterContributor interface-usage.

Usage

From source file com.liferay.docs.guestbook.search.GuestbookEntryModelIndexerWriterContributor.java

@Component(immediate = true, property = "indexer.class.name=com.liferay.docs.guestbook.model.GuestbookEntry", service = ModelIndexerWriterContributor.class)
public class GuestbookEntryModelIndexerWriterContributor implements ModelIndexerWriterContributor<GuestbookEntry> {

    @Override
    public void customize(BatchIndexingActionable batchIndexingActionable,
            ModelIndexerWriterDocumentHelper modelIndexerWriterDocumentHelper) {

From source file com.liferay.docs.guestbook.search.GuestbookModelIndexerWriterContributor.java

@Component(immediate = true, property = "indexer.class.name=com.liferay.docs.guestbook.model.Guestbook", service = ModelIndexerWriterContributor.class)
public class GuestbookModelIndexerWriterContributor implements ModelIndexerWriterContributor<Guestbook> {

    @Override
    public void customize(BatchIndexingActionable batchIndexingActionable,
            ModelIndexerWriterDocumentHelper modelIndexerWriterDocumentHelper) {