archivebox.search

Submodules

Package Contents

Functions

log_index_started

get_file_result_content

get_indexable_content

import_backend

write_search_index

query_search_index

flush_search_index

index_links

API

archivebox.search.log_index_started(url)[source]
archivebox.search.get_file_result_content(res, extra_path, use_pwd=False)[source]
archivebox.search.get_indexable_content(results: django.db.models.QuerySet)[source]
archivebox.search.import_backend()[source]
archivebox.search.write_search_index(link: archivebox.index.schema.Link, texts: Union[List[str], None] = None, out_dir: pathlib.Path = settings.DATA_DIR, skip_text_index: bool = False) None[source]
archivebox.search.query_search_index(query: str, out_dir: pathlib.Path = settings.DATA_DIR) django.db.models.QuerySet[source]
archivebox.search.flush_search_index(snapshots: django.db.models.QuerySet)[source]