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
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 (
runningmatchesrun). - 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ématchescafe), no stemming. Suits any language that separates words with spaces. The default.