class NumberFieldBoostTest in Search API Solr 4.x
Tests the "Number field boost" processor.
@group search_api_solr
@coversDefaultClass \Drupal\search_api\Plugin\search_api\processor\NumberFieldBoost
Hierarchy
- class \Drupal\Tests\search_api_solr\Kernel\Processor\NumberFieldBoostTest extends \Drupal\Tests\search_api\Kernel\Processor\NumberFieldBoostTest uses SolrBackendTrait
Expanded class hierarchy of NumberFieldBoostTest
See also
\Drupal\search_api\Plugin\search_api\processor\NumberFieldBoost
File
- tests/
src/ Kernel/ Processor/ NumberFieldBoostTest.php, line 16
Namespace
Drupal\Tests\search_api_solr\Kernel\ProcessorView source
class NumberFieldBoostTest extends SearchApiNumberFieldBoostTest {
use SolrBackendTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'search_api_solr',
'search_api_solr_test',
];
/**
* {@inheritdoc}
*/
public function setUp($processor = NULL) : void {
parent::setUp();
$this
->enableSolrServer();
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NumberFieldBoostTest:: |
public static | property | ||
NumberFieldBoostTest:: |
public | function | ||
SolrBackendTrait:: |
protected | function | Swap the DB backend for a Solr backend. | 3 |
SolrBackendTrait:: |
protected | function | ||
SolrBackendTrait:: |
protected | function | ||
SolrCommitTrait:: |
protected | function | Explicitly sends a commit command to a Solr server. |