Package org.exoplatform.agenda.search
Class AgendaIndexingServiceConnector
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.search.index.IndexingServiceConnector
-
- org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
- org.exoplatform.agenda.search.AgendaIndexingServiceConnector
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class AgendaIndexingServiceConnector extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
-
Field Summary
Fields Modifier and Type Field Description static StringINDEX-
Fields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
currentIndex, indexAlias, mapping, replicas, shards
-
-
Constructor Summary
Constructors Constructor Description AgendaIndexingServiceConnector(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.agenda.service.AgendaEventAttendeeService attendeeService, org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.commons.search.domain.Documentcreate(String id)List<String>getAllIds(int offset, int limit)StringgetConnectorName()org.exoplatform.commons.search.domain.Documentupdate(String id)-
Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getMapping, getPipelineName, getReplicas, getShards, isNeedIngestPipeline, setReplicas, setShards
-
Methods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
isEnable, setEnable
-
-
-
-
Field Detail
-
INDEX
public static final String INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AgendaIndexingServiceConnector
public AgendaIndexingServiceConnector(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.agenda.service.AgendaEventService agendaEventService, org.exoplatform.agenda.service.AgendaEventAttendeeService attendeeService, org.exoplatform.container.xml.InitParams initParams)
-
-
Method Detail
-
create
public org.exoplatform.commons.search.domain.Document create(String id)
- Specified by:
createin classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
update
public org.exoplatform.commons.search.domain.Document update(String id)
- Specified by:
updatein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
getAllIds
public List<String> getAllIds(int offset, int limit)
- Specified by:
getAllIdsin classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
getConnectorName
public String getConnectorName()
- Specified by:
getConnectorNamein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
-