You are here

protected function SolrBackendTrait::indexItems in Search API Solr 8.3

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::indexItems()
  2. 8.2 tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::indexItems()
  3. 4.x tests/src/Kernel/Processor/SolrBackendTrait.php \Drupal\Tests\search_api_solr\Kernel\Processor\SolrBackendTrait::indexItems()
2 calls to SolrBackendTrait::indexItems()
DateRangeTest::testRangeQueries in tests/src/Kernel/Processor/DateRangeTest.php
Tests date range queries.
HtmlFilterTest::testBoostTerms in tests/src/Kernel/Processor/HtmlFilterTest.php
Tests term boosts.

File

tests/src/Kernel/Processor/SolrBackendTrait.php, line 61

Class

SolrBackendTrait
Helper to exchange the DB backend for a Solr backend in processor tests.

Namespace

Drupal\Tests\search_api_solr\Kernel\Processor

Code

protected function indexItems() {
  $index_status = parent::indexItems();
  $this
    ->ensureCommit($this->index);
  return $index_status;
}