Documentation

PrototypeItemIndex

Description and methods

Base class for handling fulltext item index table. Separate fulltext index table is created dynamically for each process within the method [link=11313194]\Bitrix\Rpa\Model\TypeTable::compileItemIndexEntity[/link]


Chain of inheritance

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

Methods

Method Description Available from version
public static function merge(int $itemId, string $searchContent): Result Writes data in fulltext index in the table. Returns an object Bitrix\Main\Result.
public static function prepareFullTextQuery(string $query): ?string Returns a string, prepared for use in filter by fulltext index.

Fields

Field Description Type Required
ITEM_ID Item ID. Primary Key.Int Yes
UPDATED_TIME Time of adding / modifying records.Datetime Yes
SEARCH_CONTENT Text for building an index.String

Please, be advised that this class is - abstract. Each specific class is compiled in runtime for each process. In this context, ID within table is ID with binding to a specific process and such binding is defined in an individual class.



© «Bitrix24», 2001-2022
Up