protected function SearchApiSolrTest::checkIndexWithoutFields in Search API Solr 8
Checks the correct handling of an index without fields.
Return value
\Drupal\search_api\IndexInterface The created test index.
Overrides BackendTestBase::checkIndexWithoutFields
File
- tests/
src/ Kernel/ SearchApiSolrTest.php, line 203
Class
- SearchApiSolrTest
- Tests index and search capabilities using the Solr search backend.
Namespace
Drupal\Tests\search_api_solr\KernelCode
protected function checkIndexWithoutFields() {
$index = parent::checkIndexWithoutFields();
$index
->clear();
sleep(2);
}