CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\EventBusWeightedTagsUpdater Class Reference
+ Inheritance diagram for CirrusSearch\EventBusWeightedTagsUpdater:
+ Collaboration diagram for CirrusSearch\EventBusWeightedTagsUpdater:

Public Member Functions

 __construct (EventBusFactory $eventBusFactory, EventBusWeightedTagSerializer $eventSerializer, WikiPageFactory $wikiPageFactory)
 
 resetWeightedTags (ProperPageIdentity $page, array $tagPrefixes, ?string $trigger=null)
 @inheritDoc
 
 updateWeightedTags (ProperPageIdentity $page, string $tagPrefix, ?array $tagWeights=null, ?string $trigger=null)
 @inheritDoc
 

Additional Inherited Members

- Public Attributes inherited from CirrusSearch\WeightedTagsUpdater
const SERVICE = self::class
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\EventBusWeightedTagsUpdater::__construct ( EventBusFactory $eventBusFactory,
EventBusWeightedTagSerializer $eventSerializer,
WikiPageFactory $wikiPageFactory )
Parameters
EventBusFactory$eventBusFactory
EventBusWeightedTagSerializer$eventSerializer
WikiPageFactory$wikiPageFactory

Member Function Documentation

◆ resetWeightedTags()

CirrusSearch\EventBusWeightedTagsUpdater::resetWeightedTags ( ProperPageIdentity $page,
array $tagPrefixes,
?string $trigger = null )

@inheritDoc

Implements CirrusSearch\WeightedTagsUpdater.

◆ updateWeightedTags()

CirrusSearch\EventBusWeightedTagsUpdater::updateWeightedTags ( ProperPageIdentity $page,
string $tagPrefix,
?array $tagWeights = null,
?string $trigger = null )

@inheritDoc

Implements CirrusSearch\WeightedTagsUpdater.


The documentation for this class was generated from the following file: