protected function SolrBackendTestBase::checkIndexWithoutFields in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::checkIndexWithoutFields()
- 8.2 tests/src/Kernel/SolrBackendTestBase.php \Drupal\Tests\search_api_solr\Kernel\SolrBackendTestBase::checkIndexWithoutFields()
File
- tests/
src/ Kernel/ SolrBackendTestBase.php, line 149
Class
- SolrBackendTestBase
- Tests location searches and distance facets using the Solr search backend.
Namespace
Drupal\Tests\search_api_solr\KernelCode
protected function checkIndexWithoutFields() {
$index = parent::checkIndexWithoutFields();
$index
->clear();
$this
->ensureCommit($index);
}