mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-27 21:24:16 -04:00
totally ignore sonic unless its the selected search backend
This commit is contained in:
parent
8ce7313325
commit
5e2dfb5baa
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue