Make extracting text for indexing optional

Add a configuration option to enable/disable HTML text extraction
for indexing
This commit is contained in:
Ross Williams 2023-10-12 13:14:39 -04:00
parent b6a20c962a
commit d8aa84ac98
2 changed files with 4 additions and 2 deletions

View file

@ -209,6 +209,7 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
'SEARCH_BACKEND_HOST_NAME': {'type': str, 'default': 'localhost'},
'SEARCH_BACKEND_PORT': {'type': int, 'default': 1491},
'SEARCH_BACKEND_PASSWORD': {'type': str, 'default': 'SecretPassword'},
'SEARCH_PROCESS_HTML': {'type': bool, 'default': True},
# SONIC
'SONIC_COLLECTION': {'type': str, 'default': 'archivebox'},
'SONIC_BUCKET': {'type': str, 'default': 'snapshots'},