DbTokenizers class abstract final

Built-in FTS tokenizer names.

DbEntity.tokenizer is still a String. These constants are the names the engine already implements. A package may register another name, and that name can be written here as a plain string, for example 'arabic'.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

ascii → const String
ASCII letters and digits. This is the FTS3 and FTS4 default.
porter → const String
Porter stemmer for English, wrapped around unicode61 unless another parent tokenizer is named in the SQL declaration.
simple → const String
FTS3 spelling of ascii. FTS5 rejects this name.
trigram → const String
Overlapping three-character tokens. A query shorter than three characters does not match.
unicode61 → const String
FTS5 default. Unicode letters and numbers, with diacritics removed.