Identifier document field.
Properties¶
$boost¶
The importance of that field (boost factor).
|
|
$highlight¶
Whether highlighting should be performed for this field on result documents.
|
|
$inResult¶
Whether the field should be a part of the resulting document.
|
|
$multiValue¶
Whether the field supports multiple values.
|
|
$name¶
Name of the document field. Will be used to query this field.
|
|
$type¶
|
|
[deprecated] The type name of the facet, deprecated - use FieldType::getType instead.
$raw¶
Indicates that value will not be normalized.
|
|
$type¶
The type name of the facet. Has to be handled by the solr schema.
|
|
Methods¶
__construct() ¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getType() ¶
|
|
Return values
string
getProperties() ¶
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>