public function SolrBackendInterface::getSolrFieldNames in Search API Solr 8
Same name and namespace in other branches
- 8.3 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getSolrFieldNames()
- 8.2 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getSolrFieldNames()
- 4.x src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getSolrFieldNames()
Creates a list of all indexed field names mapped to their Solr field names.
The special fields "search_api_id" and "search_api_relevance" are also included. Any Solr fields that exist on search results are mapped back to to their local field names in the final result set.
Parameters
\Drupal\search_api\IndexInterface $index: The Search Api index.
bool $reset: (optional) Whether to reset the static cache.
See also
SearchApiSolrBackend::search()
1 method overrides SolrBackendInterface::getSolrFieldNames()
- SearchApiSolrBackend::getSolrFieldNames in src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php - Creates a list of all indexed field names mapped to their Solr field names.
File
- src/
SolrBackendInterface.php, line 32
Class
- SolrBackendInterface
- Defines an interface for Solr search backend plugins.
Namespace
Drupal\search_api_solrCode
public function getSolrFieldNames(IndexInterface $index, $reset = FALSE);