SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit be33e893 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Update indexprocessors

parent 1026361c
No related branches found
No related tags found
No related merge requests found
......@@ -104,11 +104,18 @@ HAYSTACK_CONNECTIONS = {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
'PATH': 'local_files/haystack/',
},
'base_search': {
'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
}
# SimpleEngine doesn't need indexing, and could be useful for debugging, however
# does not fully support all haystack features
# 'base_search': {
# 'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
# }
}
# Brute force automatically re-index Haystack using post_save signals on all models.
# When write-traffic increases, a custom processor is preferred which only connects
# signals to eg. `vet-accepted` signals possibly using cron jobs instead of realtime updates.
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
SPHINXDOC_BASE_TEMPLATE = 'scipost/base.html'
SPHINXDOC_PROTECTED_PROJECTS = {
......
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