WIP: add sqlite search backend boilerplate

This commit is contained in:
Ross Williams 2023-10-08 15:01:59 -04:00
parent d7b883b049
commit c53ec45a29

View file

@ -0,0 +1,15 @@
from typing import List, Generator
from archivebox.util import enforce_types
@enforce_types
def index(snapshot_id: str, texts: List[str]):
pass
@enforce_types
def search(text: str) -> List[str]:
pass
@enforce_types
def flush(snapshot_ids: Generator[str, None, None]):
pass