archivebox.search.backends

Module Contents

Functions

search_backend_command_env

Serialize resolved application config for a standalone plugin command.

normalize_search_backend_name

Normalize a backend name for config and plugin lookup.

get_available_backends

Discover search-capable plugins and cache their catalog entries.

get_backend

Resolve the configured search-capable plugin.

Data

_search_backends_cache

API

archivebox.search.backends._search_backends_cache: dict | None[source]

None

archivebox.search.backends.search_backend_command_env(config: dict[str, Any] | None = None, **config_kwargs: Any) dict[str, str][source]

Serialize resolved application config for a standalone plugin command.

archivebox.search.backends.normalize_search_backend_name(backend_name: str | None) str[source]

Normalize a backend name for config and plugin lookup.

archivebox.search.backends.get_available_backends() dict[source]

Discover search-capable plugins and cache their catalog entries.

archivebox.search.backends.get_backend(config: dict[str, Any] | None = None, **config_kwargs: Any) Any[source]

Resolve the configured search-capable plugin.