abx_plugin_sqlitefts_search.searchbackend

Module Contents

Classes

SqliteftsSearchBackend

Functions

_escape_sqlite3

_escape_sqlite3_value

_escape_sqlite3_identifier

_create_tables

_handle_query_exception

Data

SQLITEFTS_SEARCH_BACKEND

API

abx_plugin_sqlitefts_search.searchbackend._escape_sqlite3(value: str, *, quote: str, errors='strict') str[source]
abx_plugin_sqlitefts_search.searchbackend._escape_sqlite3_value(value: str, errors='strict') str[source]
abx_plugin_sqlitefts_search.searchbackend._escape_sqlite3_identifier(value: str) str[source]
abx_plugin_sqlitefts_search.searchbackend._create_tables()[source]
abx_plugin_sqlitefts_search.searchbackend._handle_query_exception(exc: Exception)[source]
class abx_plugin_sqlitefts_search.searchbackend.SqliteftsSearchBackend[source]

Bases: abx_spec_searchbackend.BaseSearchBackend

name: str[source]

‘sqlite’

docs_url: str[source]

https://www.sqlite.org/fts5.html

static index(snapshot_id: str, texts: List[str])[source]
static search(text: str) List[str][source]
static flush(snapshot_ids: Iterable[str])[source]
abx_plugin_sqlitefts_search.searchbackend.SQLITEFTS_SEARCH_BACKEND[source]

‘SqliteftsSearchBackend(…)’