SolrMultisiteDocument.php in Search API Solr 4.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\search_api_solr\Plugin\DataTypeFile
src/Plugin/DataType/SolrMultisiteDocument.phpView source
<?php
namespace Drupal\search_api_solr\Plugin\DataType;
/**
* Defines the "Solr document" data type.
*
* Instances of this class wrap Search API Item objects and allow to deal with
* items based upon the Typed Data API.
*
* @DataType(
* id = "solr_multisite_document",
* label = @Translation("Solr multisite document"),
* description = @Translation("Records from a Solr multisite index."),
* definition_class = "\Drupal\search_api_solr\TypedData\SolrDocumentDefinition"
* )
*/
class SolrMultisiteDocument extends SolrDocument {
/**
* Field name.
*
* @var string
*/
protected $solrField = 'solr_multisite_field';
/**
* Document name.
*
* @var string
*/
protected $solrDocument = 'solr_multisite_document';
}
Classes
Name | Description |
---|---|
SolrMultisiteDocument | Defines the "Solr document" data type. |