summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-05-05 15:29:11 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-05-05 15:29:11 +0200
commit91c17204227625501f1d2b26adad46872f45a30e (patch)
tree9cffffc070d4cc50609ecb40bc59915a8ebc0b32 /example_project
parenta68bedba648cd3457c536e83d7f327d92474dfc9 (diff)
downloadIshtar-91c17204227625501f1d2b26adad46872f45a30e.tar.bz2
Ishtar-91c17204227625501f1d2b26adad46872f45a30e.zip
Container: manage general index
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index ae795d04a..44e703104 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -255,8 +255,6 @@ ISHTAR_QRCODE_VERSION = 6 # density of the QR code
ISHTAR_QRCODE_SCALE = 2 # scale of the QR code
ISHTAR_DEFAULT_YEAR = 1900
-ISHTAR_FILE_PREFIX = ""
-
SRID = 4326 # WGS84 - World
SURFACE_SRID = 4326 # WGS84 - World
ENCODING = 'windows-1252'
@@ -269,9 +267,9 @@ JOINT = u" | "
# not managed cautiously the dir contening theses scripts is not set by default
ISHTAR_SCRIPT_DIR = ""
-ISHTAR_FILE_PREFIX = u""
-ISHTAR_OPE_PREFIX = u"OA"
-ISHTAR_DEF_OPE_PREFIX = u"OP"
+ISHTAR_FILE_PREFIX = ""
+ISHTAR_OPE_PREFIX = "OA"
+ISHTAR_DEF_OPE_PREFIX = "OP"
# string len of find indexes - i.e: find with index 42 will be 00042
ISHTAR_FINDS_INDEX_ZERO_LEN = 5
ISHTAR_OPE_COL_FORMAT = None
@@ -286,6 +284,9 @@ ISHTAR_SEARCH_LANGUAGE = "french"
ISHTAR_SECURE = True
+# index by warehouse or on the whole database
+ISHTAR_CONTAINER_INDEX = 'warehouse' # or "general"
+
ISHTAR_DPTS = []
MAX_ATTEMPTS = 1 # django background tasks