Skip to main content

Module text

Module text 

Source
Expand description

Optional full-text search over string literals with SQLite FTS5.

When StoreOptions::text_index is set, terms_fts indexes the lexical form of every simple, language-tagged and directional string literal (triggers on terms keep it current), and the SPARQL function oxl:textMatch(?literal, "fts query") compiles to an FTS5 MATCH lookup. Without the index, the function is evaluated by the fallback evaluator with the same tokenization (case-insensitive words; word* prefixes; all terms required).

Constants§

TEXT_MATCH
oxl:textMatch(?literal, "query"): does the literal match the full-text query?

Functions§

schema_statements
Schema statements of the text index (FTS5 over terms, kept current by triggers, and back-filled once when the index is enabled on an existing store).
text_match
The fallback evaluation of textMatch (no index, or a query the compiler cannot express).
text_match_name
The function’s name.