Documentation

PrototypeItemIndex

Base class for handling table with element full-text index. Each SPA dynamically creates an individual full-text index table in the method \Bitrix\Crm\Model\Dynamic\TypeTable::compileItemIndexEntity.


Inheritance chain

Descendant to class Bitrix\Main\ORM\Data\DataManager.

abstract class Bitrix\Crm\Model\Dynamic\PrototypeItemIndex extends Bitrix\Main\ORM\Data\DataManager

Table fields

Field Description Required
ITEM_IDItem ID. Primary Key.Yes
UPDATED_TIMEAdded time / entry updates.Yes
SEARCH_CONTENTText for building index.

Please note, that this class is abstract. Specific class is compiled during runtime for each process. Within this table, ITEM_ID - is ID of item with binding to a specific smart process. This binding is defined in a specific class.


Class methods

MethodDescription Available from version
public static function merge(
    int $itemId,
    string $searchContent
): Result
Writes the full-text index data into table. Returns an object Bitrix\Main\Result.


© «Bitrix24», 2001-2024
Up