You are here

public function SolrFieldDefinitionInterface::isFulltextSearchable in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/TypedData/SolrFieldDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrFieldDefinitionInterface::isFulltextSearchable()
  2. 4.x src/TypedData/SolrFieldDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrFieldDefinitionInterface::isFulltextSearchable()

Determine whether a field is suitable for fulltext search.

Some fields are tokenized for sort and contain a single, all lowercase value. These fields are not suitable for fulltext search, but there is no general way to tell them apart from fields that are tokenized into multiple terms.

Return value

bool Whether the field might be suitable for fulltext search.

1 method overrides SolrFieldDefinitionInterface::isFulltextSearchable()
SolrFieldDefinition::isFulltextSearchable in src/TypedData/SolrFieldDefinition.php
Determine whether a field is suitable for fulltext search.

File

src/TypedData/SolrFieldDefinitionInterface.php, line 172

Class

SolrFieldDefinitionInterface
Defines an interface for Solr field definitions.

Namespace

Drupal\search_api_solr\TypedData

Code

public function isFulltextSearchable();