protected function ProcessorTestBase::indexItems in Search API 8
Indexes all (unindexed) items.
Return value
int The number of successfully indexed items.
14 calls to ProcessorTestBase::indexItems()
- AddHierarchyTest::testPreprocessIndexItems in tests/
src/ Kernel/ Processor/ AddHierarchyTest.php - Tests non-taxonomy-based hierarchy.
- AddHierarchyTest::testPreprocessIndexItemsTaxonomy in tests/
src/ Kernel/ Processor/ AddHierarchyTest.php - Tests taxonomy-based hierarchy indexing.
- AddHierarchyTest::testRegression3059312 in tests/
src/ Kernel/ Processor/ AddHierarchyTest.php - Tests adding values to Fulltext fields.
- ContentAccessTest::testNodeGrantsChange in tests/
src/ Kernel/ Processor/ ContentAccessTest.php - Tests that acquiring node grants leads to re-indexing of that node.
- ContentAccessTest::testQueryAccessAll in tests/
src/ Kernel/ Processor/ ContentAccessTest.php - Tests searching when content is accessible to all.
File
- tests/
src/ Kernel/ Processor/ ProcessorTestBase.php, line 198
Class
- ProcessorTestBase
- Provides a base class for Drupal unit tests for processors.
Namespace
Drupal\Tests\search_api\Kernel\ProcessorCode
protected function indexItems() {
return $this->index
->indexItems();
}