mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 04:03:06 +00:00
WIP: add sqlite search backend boilerplate
This commit is contained in:
parent
d7b883b049
commit
c53ec45a29
1 changed files with 15 additions and 0 deletions
15
archivebox/search/backends/sqlite.py
Normal file
15
archivebox/search/backends/sqlite.py
Normal 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
|
Loading…
Reference in a new issue