Rachel
Toggle table of contents
3.7.2
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.foundation.fts
/
love.yinlin.foundation.fts
/
SearchTokenizer
Search
Tokenizer
fun
interface
SearchTokenizer
索引与查询使用同一个分词器。自定义实现应保持确定性,返回非空词项。 仅影响 WholeWord、Prefix 和 Fuzzy;字面及正则模式始终搜索原始字段。
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
tokenize
Link copied to clipboard
abstract
fun
tokenize
(
text
:
String
)
:
List
<
String
>