Beta version

class SolariumSubscriber implements EventSubscriberInterface

Subscribe to Node and NodesSources event to update a Solr server documents.

Methods

__construct(Client $solr, LoggerInterface $logger)

SolariumSubscriber constructor.

static 
getSubscribedEvents()

No description

onSolariumSingleUpdate(FilterNodesSourcesEvent $event)

Update or create solr document for current Node-source.

onSolariumSingleDelete(FilterNodesSourcesEvent $event)

Delete solr document for current Node-source.

onSolariumNodeDelete(FilterNodeEvent $event)

Delete solr documents for each Node sources.

onSolariumNodeUpdate(FilterNodeEvent $event)

Update or create solr documents for each Node sources.

onSolariumDocumentDelete(FilterDocumentEvent $event)

Delete solr documents for each Document translation.

onSolariumDocumentUpdate(FilterDocumentEvent $event)

Update or create solr documents for each Document translation.

onSolariumTagUpdate(FilterTagEvent $event)

Update solr documents linked to current event Tag.

onSolariumFolderUpdate(FilterFolderEvent $event)

Update solr documents linked to current event Folder.

Details

at line 63
__construct(Client $solr, LoggerInterface $logger)

SolariumSubscriber constructor.

Parameters

Client $solr
LoggerInterface $logger

at line 69
static getSubscribedEvents()

at line 96
onSolariumSingleUpdate(FilterNodesSourcesEvent $event)

Update or create solr document for current Node-source.

Parameters

FilterNodesSourcesEvent $event

at line 115
onSolariumSingleDelete(FilterNodesSourcesEvent $event)

Delete solr document for current Node-source.

Parameters

FilterNodesSourcesEvent $event

at line 134
onSolariumNodeDelete(FilterNodeEvent $event)

Delete solr documents for each Node sources.

Parameters

FilterNodeEvent $event

at line 154
onSolariumNodeUpdate(FilterNodeEvent $event)

Update or create solr documents for each Node sources.

Parameters

FilterNodeEvent $event

at line 175
onSolariumDocumentDelete(FilterDocumentEvent $event)

Delete solr documents for each Document translation.

Parameters

FilterDocumentEvent $event

at line 195
onSolariumDocumentUpdate(FilterDocumentEvent $event)

Update or create solr documents for each Document translation.

Parameters

FilterDocumentEvent $event

at line 215
onSolariumTagUpdate(FilterTagEvent $event)

Update solr documents linked to current event Tag.

Parameters

FilterTagEvent $event

at line 250
onSolariumFolderUpdate(FilterFolderEvent $event)

Update solr documents linked to current event Folder.

Parameters

FilterFolderEvent $event