mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
Change MAX_SONIC_TEXT_LENGTH
This commit is contained in:
parent
db9c2edccc
commit
15fbd81480
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ from sonic import IngestClient, SearchClient
|
||||||
from archivebox.util import enforce_types
|
from archivebox.util import enforce_types
|
||||||
from archivebox.config import SEARCH_BACKEND_HOST_NAME, SEARCH_BACKEND_PORT, SEARCH_BACKEND_PASSWORD, SONIC_BUCKET, SONIC_COLLECTION
|
from archivebox.config import SEARCH_BACKEND_HOST_NAME, SEARCH_BACKEND_PORT, SEARCH_BACKEND_PASSWORD, SONIC_BUCKET, SONIC_COLLECTION
|
||||||
|
|
||||||
MAX_SONIC_TEXT_LENGTH = 1000
|
MAX_SONIC_TEXT_LENGTH = 20000
|
||||||
|
|
||||||
@enforce_types
|
@enforce_types
|
||||||
def index(snapshot_id: str, texts: List[str]):
|
def index(snapshot_id: str, texts: List[str]):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue