public function SolrFieldDefinitionInterface::isPossibleKey in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/TypedData/SolrFieldDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrFieldDefinitionInterface::isPossibleKey()
- 8.2 src/TypedData/SolrFieldDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrFieldDefinitionInterface::isPossibleKey()
Determine whether this field may be suitable for use as a key field.
Unfortunately, it seems like the best way to find an actual uniqueKey field according to Solr is to examine the Solr core's schema.xml.
Return value
bool Whether the field is suitable for use as a key.
1 method overrides SolrFieldDefinitionInterface::isPossibleKey()
- SolrFieldDefinition::isPossibleKey in src/
TypedData/ SolrFieldDefinition.php - Determine whether this field may be suitable for use as a key field.
File
- src/
TypedData/ SolrFieldDefinitionInterface.php, line 145
Class
- SolrFieldDefinitionInterface
- Defines an interface for Solr field definitions.
Namespace
Drupal\search_api_solr\TypedDataCode
public function isPossibleKey();