Метод getMentionSearchMinTokenSize

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 995–1005
~/bitrix/modulesim/lib/V2/Integration/UI/EntitySelector/RecentProvider.php

Исходный код

PHP
public static

Сигнатура метода

public static function getMentionSearchMinTokenSize(): int

Возвращает: int

Описание

The mention list searches from a shorter query than the rest of the provider consumers: a wildcard matches the beginning of a word already in the index, so a query shorter than the minimal indexed word is allowed - a two-letter prefix still finds a longer indexed name. The index setting stays the lower bound: a portal that indexes even shorter words keeps its own value.