12 calls to Utility::formatBoostFactor() in Search API 8
- IndexFieldsForm::buildFieldsTable in src/
Form/ IndexFieldsForm.php - Builds the form fields for a set of fields.
- IntegrationTest::addFieldsToIndex in tests/
src/ Functional/ IntegrationTest.php - Tests whether adding fields to the index works correctly.
- IntegrationTest::changeProcessorFieldBoost in tests/
src/ Functional/ IntegrationTest.php - Tests that a field added by a processor can be changed.
- NumberFieldBoost::buildConfigurationForm in src/
Plugin/ search_api/ processor/ NumberFieldBoost.php - Form constructor.
- NumberFieldBoost::submitConfigurationForm in src/
Plugin/ search_api/ processor/ NumberFieldBoost.php - Form submission handler.
- ProcessorIntegrationTest::checkEntityBundleBoostIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the UI for the "Type-specific boosting" processor.
- ProcessorIntegrationTest::checkNumberFieldBoostIntegration in tests/
src/ Functional/ ProcessorIntegrationTest.php - Tests the UI for the "Number field-based boosting" processor.
- TypeBoost::buildConfigurationForm in src/
Plugin/ search_api/ processor/ TypeBoost.php - Form constructor.
- TypeBoostTest::testConfigFormBundleBoostDefaults in tests/
src/ Kernel/ Processor/ TypeBoostTest.php - Tests that default values for individual bundles are correct in the form.
- TypeBoostTest::testEntityBundleBoost in tests/
src/ Kernel/ Processor/ TypeBoostTest.php - Tests that the correct boost is set on items.
- Utility::getBoostFactors in src/
Utility/ Utility.php - Returns the available boost factors according to the configuration.
- UtilityTest::testFormatBoostFactor in tests/
src/ Unit/ UtilityTest.php - Tests formatting of boost factors.