Class

eZ\Publish\Core\FieldType\Unindexed

class Unindexed implements Indexable

Indexable definition for string field type.

Methods

Field[] getIndexData(Field $field, FieldDefinition $fieldDefinition)

Get index data for field for search backend.

FieldType[] getIndexDefinition()

Get index field types for search backend.

string getDefaultMatchField()

Get name of the default field to be used for matching.

string getDefaultSortField()

Get name of the default field to be used for sorting.

Details

at line 28
public Field[] getIndexData(Field $field, FieldDefinition $fieldDefinition)

Get index data for field for search backend.

Parameters

Field $field
FieldDefinition $fieldDefinition

Return Value

Field[]

at line 38
public FieldType[] getIndexDefinition()

Get index field types for search backend.

Return Value

FieldType[]

at line 52
public string getDefaultMatchField()

Get name of the default field to be used for matching.

As field types can index multiple fields (see MapLocation field type's implementation of this interface), this method is used to define default field for matching. Default field is typically used by Field criterion.

Return Value

string

at line 66
public string getDefaultSortField()

Get name of the default field to be used for sorting.

As field types can index multiple fields (see MapLocation field type's implementation of this interface), this method is used to define default field for sorting. Default field is typically used by Field sort clause.

Return Value

string