mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-19 12:51:49 +02:00
totally ignore sonic unless its the selected search backend
This commit is contained in:
@@ -120,7 +120,7 @@ class SonicSearchPlugin(BasePlugin):
|
||||
|
||||
hooks: List[InstanceOf[BaseHook]] = [
|
||||
SONIC_CONFIG,
|
||||
*([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic' or SONIC_LIB) else []),
|
||||
*([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic') else []),
|
||||
SONIC_SEARCH_BACKEND,
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user