Skip to content
Snippets Groups Projects
Commit 7f6048fa authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Change default search backend to whoosh

parent 1a0e0261
No related branches found
No related tags found
1 merge request!591Resolve "Rely on object permissions for search index"
Pipeline #10880 failed
......@@ -788,7 +788,7 @@ SILENCED_SYSTEM_CHECKS.append("guardian.W001")
# Append authentication backends
AUTHENTICATION_BACKENDS.append("rules.permissions.ObjectPermissionBackend")
HAYSTACK_BACKEND_SHORT = _settings.get("search.backend", "simple")
HAYSTACK_BACKEND_SHORT = _settings.get("search.backend", "whoosh")
if HAYSTACK_BACKEND_SHORT == "simple":
HAYSTACK_CONNECTIONS = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment