public function SearchApiFederatedSolrTerms::propertyInfo in Search API Federated Solr 7.2
Same name and namespace in other branches
- 7.3 src/SearchApiFederatedSolrTerms.php \SearchApiFederatedSolrTerms::propertyInfo()
- 7 src/SearchApiFederatedSolrTerms.php \SearchApiFederatedSolrTerms::propertyInfo()
Implements SearchApiAlterCallbackInterface::propertyInfo().
Overrides SearchApiAbstractAlterCallback::propertyInfo
File
- src/
SearchApiFederatedSolrTerms.php, line 18
Class
Code
public function propertyInfo() {
return array(
'federated_terms' => array(
'label' => t('Federated Term'),
'description' => t('By adding this field to your search index configuration, you have enabled the federated terms processor to run when new items are indexed. Next, add a "Federated Terms" field to any taxonomy vocabulary whose terms should be mapped to a "federated" term (this helps map terms across vocabularies and sites to a single "federated" term). Then, edit terms in those vocabularies to add the federated term destination value (i.e. "Conditions>Blood Disorders"). Once that tagged content gets indexed, it will have "federated_terms" populated with any matching federated term destination values.'),
'type' => 'list<string>',
'cardinality' => -1,
),
);
}