Class CampaignIndexRepository
java.lang.Object
fr.enedis.chutney.index.domain.AbstractIndexRepository<CampaignEntity>
fr.enedis.chutney.campaign.infra.index.CampaignIndexRepository
- All Implemented Interfaces:
IndexRepository<CampaignEntity>
-
Field Summary
Fields inherited from class fr.enedis.chutney.index.domain.AbstractIndexRepository
CONTENT, DESCRIPTION, ID, LOGGER, TAGS, TITLE, WHAT, whatValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.document.DocumentcreateDocument(CampaignEntity campaign) protected StringgetId(CampaignEntity campaign) Methods inherited from class fr.enedis.chutney.index.domain.AbstractIndexRepository
count, delete, highlight, save, searchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.enedis.chutney.index.domain.IndexRepository
saveAll
-
Constructor Details
-
CampaignIndexRepository
public CampaignIndexRepository(@Qualifier("campaignLuceneIndexRepository") LuceneIndexRepository luceneIndexRepository)
-
-
Method Details
-
createDocument
- Specified by:
createDocumentin classAbstractIndexRepository<CampaignEntity>
-
getId
- Specified by:
getIdin classAbstractIndexRepository<CampaignEntity>
-