You are here

class CommandHelper in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/Utility/CommandHelper.php \Drupal\search_api_solr\Utility\CommandHelper
  2. 4.x src/Utility/CommandHelper.php \Drupal\search_api_solr\Utility\CommandHelper

Provides functionality to be used by CLI tools.

Hierarchy

  • class \Drupal\search_api\Utility\CommandHelper implements \Psr\Log\LoggerAwareInterface uses \Psr\Log\LoggerAwareTrait

Expanded class hierarchy of CommandHelper

File

src/Utility/CommandHelper.php, line 10

Namespace

Drupal\search_api_solr\Utility
View source
class CommandHelper extends SolrCommandHelper {

}

Members

Namesort descending Modifiers Type Description Overrides
CommandHelper::$entityTypeManager protected property The entity type manager.
CommandHelper::$eventDispatcher protected property The event dispatcher.
CommandHelper::$indexStorage protected property The storage for search index entities.
CommandHelper::$moduleHandler protected property The module handler.
CommandHelper::$serverStorage protected property The storage for search server entities.
CommandHelper::$translationFunction protected property A callable for translating strings.
CommandHelper::clearIndexCommand public function Deletes all items from one or more indexes.
CommandHelper::clearServerCommand public function Clears all indexes on a server.
CommandHelper::disableIndexCommand public function Disables one or more enabled search indexes.
CommandHelper::disableServerCommand public function Disables a server.
CommandHelper::enableIndexCommand public function Enables one or more disabled search indexes.
CommandHelper::enableServerCommand public function Enables a server.
CommandHelper::getIndexCount public function Returns the total number of search indexes.
CommandHelper::indexItemsToIndexCommand public function Indexes items on one or more indexes.
CommandHelper::indexListCommand public function Lists all search indexes.
CommandHelper::indexStatusCommand public function Lists all search indexes with their status.
CommandHelper::loadIndexes public function Returns the indexes with the given IDs.
CommandHelper::loadServers public function Returns the servers with the given IDs.
CommandHelper::rebuildTrackerCommand public function Rebuilds the tracker for an index.
CommandHelper::reloadEntityOverrideFree public function Loads an override-free copy of a config entity, for saving.
CommandHelper::resetTrackerCommand public function Resets the tracker for an index, optionally filtering on entity types.
CommandHelper::searchIndexCommand public function Returns an array of results.
CommandHelper::serverListCommand public function Returns a list of servers created on the page.
CommandHelper::setIndexServerCommand public function Switches an index to another server.
CommandHelper::setIndexState public function Changes the state of a single index.
CommandHelper::t public function Translates a string using the set translation method.
CommandHelper::__construct public function Constructs a CommandHelper object.
SolrCommandHelper::finalizeIndexCommand public function Finalizes one ore more indexes.
SolrCommandHelper::getServerConfigCommand public function Gets the config for a Solr search server.
SolrCommandHelper::reinstallFieldtypesCommand public function Re-install all Solr Field Types from their yml files.