Bitrix API

SearchIndex

Class SearchIndex

Table of Contents

Methods

getTaskSearchIndex()  : string
prepareStringToSearch()  : string
runFullTasksIndexing()  : void
Run stepper for full task's indexing (includes indexes of tasks and their comments).
setCommentSearchIndex()  : void
setTaskSearchIndex()  : void
transferTaskSearchIndex()  : void

Methods

getTaskSearchIndex()

public static getTaskSearchIndex(int $taskId) : string
Parameters
$taskId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
string

prepareStringToSearch()

public static prepareStringToSearch(string $index[, bool $isFullTextIndexEnabled = true ]) : string
Parameters
$index : string
$isFullTextIndexEnabled : bool = true
Return values
string

runFullTasksIndexing()

Run stepper for full task's indexing (includes indexes of tasks and their comments).

public static runFullTasksIndexing() : void

setCommentSearchIndex()

public static setCommentSearchIndex(int $taskId, int $commentId, string $commentText) : void
Parameters
$taskId : int
$commentId : int
$commentText : string

setTaskSearchIndex()

public static setTaskSearchIndex(int $taskId) : void
Parameters
$taskId : int

transferTaskSearchIndex()

public static transferTaskSearchIndex(int $taskId[, string $searchIndex = '' ]) : void

Transfer task's search index record to b_tasks_search_index. Method is deprecated and only used for stepper purposes.

Parameters
$taskId : int
$searchIndex : string = ''

        
On this page

Search results