Indexer class handles indexing process.

Class methods

MethodDescription Available from version
continueIndexExecutes a single indexing step. Returns a number of indexed elements.
deleteElementDeletes an element from index.
endIndexFinalizes index creation and marks iblock as indexed.
estimateElementCountReturns number of elements to be indexed.
getLastElementIdReturns index pointer/cursor. Returns the last indexed element or null, if such element is unavailable.
indexElementIndexes a single element.
initInitializes object internal status. This method must be called before using an object.
isExistsChecks index table and dictionary exist in database. Returns true on success.
setLastElementIdSets index pointer/cursor.
startIndexResets and re-creates index. Re-launches indexing process.

© «Bitrix24», 2001-2022