SqliteTextTokenizer class final

How the SQLite store splits text into searchable terms for text search (VectorStoreSpec.enableTextSearch): an FTS5 tokenizer.

Fixed when a location's text index is created. Opening that location later with a different tokenizer fails with a VectorStoreException; leaving SqliteVectorStoreProvider.textTokenizer null uses whatever the location was created with.

Properties

fts5 → String
The FTS5 tokenize argument.
final
hashCode → int
The hash code for this object.
no setteroverride
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.
override

Operators

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

Constants

porter → const SqliteTextTokenizer
unicode61 plus English Porter stemming (running matches run).
trigram → const SqliteTextTokenizer
Overlapping three-character sequences: matches substrings, and text in languages written without spaces (Chinese, Japanese). Case-insensitive; a query term shorter than three characters matches nothing.
unicode61 → const SqliteTextTokenizer
Words split on Unicode spaces and punctuation, case- and diacritic-insensitive (café matches cafe), no stemming. Suits any language that separates words with spaces. The default.