Update Haystack indexer to use Xapian

This commit is contained in:
Skia
2018-11-26 19:54:51 +01:00
parent c071ed66bc
commit 65e0b15b31
6 changed files with 12 additions and 13 deletions

View File

@ -184,8 +184,9 @@ TEMPLATES = [
HAYSTACK_CONNECTIONS = {
"default": {
"ENGINE": "haystack.backends.whoosh_backend.WhooshEngine",
"PATH": os.path.join(os.path.dirname(__file__), "whoosh_index"),
"ENGINE": "xapian_backend.XapianEngine",
"PATH": os.path.join(os.path.dirname(__file__), "search_indexes", "xapian"),
"INCLUDE_SPELLING": True,
}
}