mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 21:56:02 +00:00
Update Haystack indexer to use Xapian
This commit is contained in:
1 parent
c071ed66bc
commit
65e0b15b31
6 files changed
+12
-13
No files matched your search
+3
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user