interface SolrProcessorInterface in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrProcessorInterface.php \Drupal\search_api_solr\SolrProcessorInterface
- 4.x src/SolrProcessorInterface.php \Drupal\search_api_solr\SolrProcessorInterface
Provides an interface for Search API Solr processor plugins.
Processors can act at many locations in the overall Search API process. These locations are subsumed under the label "Stages" and defined by the STAGE_* constants on this interface. A processor should take care to clearly define for which stages it should run, in addition to implementing the corresponding methods.
Hierarchy
- interface \Drupal\search_api\Plugin\HideablePluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface
- interface \Drupal\search_api\Plugin\ConfigurablePluginInterface
- interface \Drupal\search_api\Plugin\IndexPluginInterface
- interface \Drupal\search_api\Processor\ProcessorInterface
- interface \Drupal\search_api_solr\SolrProcessorInterface
- interface \Drupal\search_api\Processor\ProcessorInterface
- interface \Drupal\search_api\Plugin\IndexPluginInterface
- interface \Drupal\search_api\Plugin\ConfigurablePluginInterface
Expanded class hierarchy of SolrProcessorInterface
All classes that implement SolrProcessorInterface
See also
\Drupal\search_api\Annotation\SearchApiProcessor
\Drupal\search_api\Processor\ProcessorPluginManager
\Drupal\search_api\Processor\ProcessorPluginBase
3 files declare their use of SolrProcessorInterface
- DoubleQuoteWorkaround.php in src/
Plugin/ search_api/ processor/ DoubleQuoteWorkaround.php - SearchApiSolrBackend.php in src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php - StreamingExpressionBuilder.php in src/
Utility/ StreamingExpressionBuilder.php
File
- src/
SolrProcessorInterface.php, line 21
Namespace
Drupal\search_api_solrView source
interface SolrProcessorInterface extends ProcessorInterface {
/**
* Encode a streaming expression value.
*
* @param string $value
*
* @return string|NULL
*/
public function encodeStreamingExpressionValue(string $value);
/**
* Decode a streaming expression value.
*
* @param string $value
*
* @return string|NULL
*/
public function decodeStreamingExpressionValue(string $value);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ConfigurablePluginInterface:: |
public | function | Returns the plugin's description. | 1 |
ConfigurablePluginInterface:: |
public | function | Returns the label for use on the administration pages. | 1 |
ConfigurablePluginInterface:: |
public | function | Informs the plugin that some of its dependencies are being removed. | 1 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
HideablePluginInterface:: |
public | function | Determines whether this plugin should be hidden in the UI. | 1 |
IndexPluginInterface:: |
public | function | Retrieves the index this plugin is configured for. | 1 |
IndexPluginInterface:: |
public | function | Sets the index this plugin is configured for. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
ProcessorInterface:: |
public | function | Adds the values of properties defined by this processor to the item. | 1 |
ProcessorInterface:: |
public | function | Alter the items to be indexed. | 1 |
ProcessorInterface:: |
public | function | Retrieves the properties this processor defines for the given datasource. | 1 |
ProcessorInterface:: |
public | function | Returns the weight for a specific processing stage. | 1 |
ProcessorInterface:: |
public | function | Determines whether this processor should always be enabled. | 1 |
ProcessorInterface:: |
public | function | Postprocess search results before they are returned by the query. | 1 |
ProcessorInterface:: |
public | function | Preprocesses the search index entity before it is saved. | 1 |
ProcessorInterface:: |
public | function | Preprocesses search items for indexing. | 1 |
ProcessorInterface:: |
public | function | Preprocesses a search query. | 1 |
ProcessorInterface:: |
public | function | Determines whether re-indexing is required after a settings change. | 1 |
ProcessorInterface:: |
public | function | Sets the weight for a specific processing stage. | 1 |
ProcessorInterface:: |
constant | Processing stage: add properties. | ||
ProcessorInterface:: |
constant | Processing stage: alter indexed items. | ||
ProcessorInterface:: |
constant | Processing stage: postprocess query. | ||
ProcessorInterface:: |
constant | Processing stage: preprocess index. | ||
ProcessorInterface:: |
constant | Processing stage: preprocess query. | ||
ProcessorInterface:: |
constant | Processing stage: preprocess index. | ||
ProcessorInterface:: |
public static | function | Checks whether this processor is applicable for a certain index. | 1 |
ProcessorInterface:: |
public | function | Checks whether this processor implements a particular stage. | 1 |
SolrProcessorInterface:: |
public | function | Decode a streaming expression value. | 1 |
SolrProcessorInterface:: |
public | function | Encode a streaming expression value. | 1 |