public function SolrFieldDefinition::isIndexed in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isIndexed()
- 8.2 src/TypedData/SolrFieldDefinition.php \Drupal\search_api_solr\TypedData\SolrFieldDefinition::isIndexed()
Determines whether this field is indexed.
Return value
bool TRUE if the field is indexed, FALSE otherwise.
Overrides SolrFieldDefinitionInterface::isIndexed
3 calls to SolrFieldDefinition::isIndexed()
- SolrFieldDefinition::isFilterable in src/
TypedData/ SolrFieldDefinition.php - Determine whether a field is suitable for filtering.
- SolrFieldDefinition::isFulltextSearchable in src/
TypedData/ SolrFieldDefinition.php - Determine whether a field is suitable for fulltext search.
- SolrFieldDefinition::isSortable in src/
TypedData/ SolrFieldDefinition.php - Determine whether a field is suitable for sorting.
File
- src/
TypedData/ SolrFieldDefinition.php, line 90
Class
- SolrFieldDefinition
- Defines a class for Solr field definitions.
Namespace
Drupal\search_api_solr\TypedDataCode
public function isIndexed() {
$this
->getSchema();
return isset($this->schema['I']);
}