|
const | EXPERIMENTAL_HL_TYPE = 'experimental' |
|
const | TYPE = 'highlighting' |
|
const | FVH_HL_TYPE = 'fvh' |
|
const | DEFAULT_TARGET_PRIORITY = 100 |
| Priority for properties that are doc dependent (e.g.
|
|
const | QUERY_DEPENDENT_TARGET_PRIORITY = 200 |
| Priority for properties that are query dependent (highlight in content)
|
|
const | EXPERT_SYNTAX_PRIORITY = 300 |
| Priority for properties that are query dependent and triggered using search keywords (intitle:foo highlight)
|
|
const | TARGET_TITLE_SNIPPET = ArrayCirrusSearchResult::TITLE_SNIPPET |
|
const | TARGET_REDIRECT_SNIPPET = ArrayCirrusSearchResult::REDIRECT_SNIPPET |
|
const | TARGET_CATEGORY_SNIPPET = ArrayCirrusSearchResult::CATEGORY_SNIPPET |
|
const | TARGET_MAIN_SNIPPET = ArrayCirrusSearchResult::TEXT_SNIPPET |
|
const | TARGET_SECTION_SNIPPET = ArrayCirrusSearchResult::SECTION_SNIPPET |
|
const | COSTLY_EXPERT_SYNTAX_PRIORITY = 400 |
| Priority for properties are query dependent and triggered using costly search keywords (for intitle:/foo[0-9]/ intitle:bar we will prefer the highlight on the regex over the simple intitle:bar)
|
|
|
| matchPlainFields () |
| Helper function to populate the matchedFields array with the additional .plain field.
|
|
| $options = [] |
|
◆ __construct()
CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::__construct |
( |
| $fieldName, |
|
|
| $target, |
|
|
| $priority = self::DEFAULT_TARGET_PRIORITY ) |
- Parameters
-
string | $fieldName | |
string | $target | |
int | $priority | |
◆ entireValue()
static CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::entireValue |
( |
| ) |
|
|
static |
◆ getFactories()
static CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::getFactories |
( |
| ) |
|
|
static |
◆ merge()
CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::merge |
( |
HighlightedField | $other | ) |
|
◆ redirectAndHeadings()
static CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::redirectAndHeadings |
( |
| ) |
|
|
static |
◆ skipIfLastMatched()
CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::skipIfLastMatched |
( |
| ) |
|
◆ text()
static CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder::text |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file:
- includes/Search/Fetch/ExperimentalHighlightedFieldBuilder.php