Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Indexable.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\SPI\FieldType;
8
9 use eZ\Publish\SPI\Persistence\Content\Field;
10 use eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition;
11
16 interface Indexable
17 {
26 public function getIndexData(Field $field, FieldDefinition $fieldDefinition);
27
33 public function getIndexDefinition();
34
44 public function getDefaultMatchField();
45
55 public function getDefaultSortField();
56 }
eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
Definition: API/Repository/Values/ContentType/FieldDefinition.php:31
eZ\Publish\SPI\Persistence\Content\Field
Definition: SPI/Persistence/Content/Field.php:12
eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition
Definition: SPI/Persistence/Content/Type/FieldDefinition.php:18
eZ\Publish\SPI\FieldType\Indexable
The field type interface which all field types have to implement to be indexable by search backends.
Definition: Indexable.php:17
eZ\Publish\SPI\FieldType\Indexable\getDefaultSortField
getDefaultSortField()
Get name of the default field to be used for sorting.
eZ\Publish\SPI\FieldType\Indexable\getIndexData
getIndexData(Field $field, FieldDefinition $fieldDefinition)
Get index data for field for search backend.
eZ\Publish\SPI\FieldType\Indexable\getDefaultMatchField
getDefaultMatchField()
Get name of the default field to be used for matching.
eZ\Publish\SPI\FieldType\Indexable\getIndexDefinition
getIndexDefinition()
Get index field types for search backend.
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.