-
Notifications
You must be signed in to change notification settings - Fork 3
Settings
Alexander Koshelev edited this page Mar 21, 2015
·
1 revision
Djapian settings description
Djapian has 2 configuration options (values in your project settings.py
file).
-
DJAPIAN_DATABASE_PATH
(required) - required setting that tells Djapian where to store Xapian databases. That must be path to directory.
Example:
DJAPIAN_DATABASE_PATH = "/var/lib/myproject/djapian_data/"
Notice: that directory must be write-accessible for user who runs Django project and manage.py
commands.
-
DJAPIAN_STEMMING_LANG
(optional) - language code for default word's stemming generation. For available values see Xapian documentation.
Example:
DJAPIAN_STEMMING_LANG = "en"