1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс PhraseIndexSearch

Открытые статические члены

static query (array $params=[])
static getCount (array $filterIn)
static getList (array $params)
static getPathCodeEntityClass ()
static getPathCodeEntity ()
static disallowFtsIndex (string $langId)
static prepareTextForFulltextSearch (string $text)
static getFullTextMinLength ()

Поля данных

const SEARCH_METHOD_EXACT = 'exact'
const SEARCH_METHOD_EQUAL = 'equal'
const SEARCH_METHOD_CASE_SENSITIVE = 'case_sensitive'
const SEARCH_METHOD_ENTRY_WORD = 'entry_word'
const SEARCH_METHOD_START_WITH = 'start_with'
const SEARCH_METHOD_END_WITH = 'end_with'

Защищенные статические члены

static allowICURegularExpression ()
static isInnodbEngine ()
static getFullTextStopWords ()

Подробное описание

См. определение в файле phraseindexsearch.php строка 18

Методы

◆ allowICURegularExpression()

allowICURegularExpression ( )
staticprotected

MySQL8 implements regular expression support using International Components for Unicode (ICU) against MySQL5 with Henry Spencer's implementation of regular expressions.

Возвращает
bool

См. определение в файле phraseindexsearch.php строка 792

◆ disallowFtsIndex()

disallowFtsIndex ( string $langId)
static

Allow use fulltext index for phrase searching. todo: preg_replace has bug when replaces Thai unicode Non-spacing mark

Возвращает
bool

См. определение в файле phraseindexsearch.php строка 763

◆ getCount()

getCount ( array $filterIn)
static

Counts rows in search result.

Аргументы
array$filterInFilter params.
Возвращает
int

См. определение в файле phraseindexsearch.php строка 56

◆ getFullTextMinLength()

getFullTextMinLength ( )
static

The minimum and maximum lengths of words to be indexed are defined by the innodb_ft_min_token_size and innodb_ft_max_token_size for InnoDB search indexes, and ft_min_word_len and ft_max_word_len for MyISAM ones. https://dev.mysql.com/doc/refman/8.0/en/fulltext-fine-tuning.html#fulltext-word-length

Возвращает
int

См. определение в файле phraseindexsearch.php строка 918

◆ getFullTextStopWords()

getFullTextStopWords ( )
staticprotected

Extracts Innodb fulltext search stop worlds.

См. также
https://dev.mysql.com/doc/refman/8.0/en/fulltext-stopwords.html#fulltext-stopwords-stopwords-for-innodb-search-indexes
Возвращает
string[]

См. определение в файле phraseindexsearch.php строка 872

◆ getList()

getList ( array $params)
static

Searches phrase by index.

Аргументы
array$paramsOrm type params for the query.
Возвращает
Main\ORM\Query\Result

См. определение в файле phraseindexsearch.php строка 84

◆ getPathCodeEntity()

getPathCodeEntity ( )
static
Возвращает
Main\ORM\Entity
Исключения
ArgumentException

См. определение в файле phraseindexsearch.php строка 146

◆ getPathCodeEntityClass()

getPathCodeEntityClass ( )
static
Возвращает
DataManager|string
Исключения
ArgumentException

См. определение в файле phraseindexsearch.php строка 130

◆ isInnodbEngine()

isInnodbEngine ( )
staticprotected

Detects Innodb engine type.

Возвращает
bool

См. определение в файле phraseindexsearch.php строка 834

◆ prepareTextForFulltextSearch()

prepareTextForFulltextSearch ( string $text)
static

Prepares searching text to use with fulltext index to help like operator. todo: preg_replace has bug when replaces Thai unicode Non-spacing mark

Аргументы
string$text
Возвращает
string

См. определение в файле phraseindexsearch.php строка 811

◆ query()

query ( array $params = [])
static

Performs search query and returns result.

Аргументы
array$paramsOrm type params for the query.
Возвращает
Main\ORM\Query\Query

См. определение в файле phraseindexsearch.php строка 36

Поля

◆ SEARCH_METHOD_CASE_SENSITIVE

const SEARCH_METHOD_CASE_SENSITIVE = 'case_sensitive'

См. определение в файле phraseindexsearch.php строка 22

◆ SEARCH_METHOD_END_WITH

const SEARCH_METHOD_END_WITH = 'end_with'

См. определение в файле phraseindexsearch.php строка 25

◆ SEARCH_METHOD_ENTRY_WORD

const SEARCH_METHOD_ENTRY_WORD = 'entry_word'

См. определение в файле phraseindexsearch.php строка 23

◆ SEARCH_METHOD_EQUAL

const SEARCH_METHOD_EQUAL = 'equal'

См. определение в файле phraseindexsearch.php строка 21

◆ SEARCH_METHOD_EXACT

const SEARCH_METHOD_EXACT = 'exact'

См. определение в файле phraseindexsearch.php строка 20

◆ SEARCH_METHOD_START_WITH

const SEARCH_METHOD_START_WITH = 'start_with'

См. определение в файле phraseindexsearch.php строка 24


Объявления и описания членов класса находятся в файле: