mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-17 15:29:25 +00:00
Migrated from xapian to elastic
This commit is contained in:
@ -191,9 +191,9 @@ TEMPLATES = [
|
||||
|
||||
HAYSTACK_CONNECTIONS = {
|
||||
"default": {
|
||||
"ENGINE": "xapian_backend.XapianEngine",
|
||||
"PATH": os.path.join(os.path.dirname(__file__), "search_indexes", "xapian"),
|
||||
"INCLUDE_SPELLING": True,
|
||||
"ENGINE": "haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine",
|
||||
'URL': 'http://localhost:9200/',
|
||||
'INDEX_NAME': 'haystack',
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user