##// END OF EJS Templates
Use simple search engine by default instead of whoosh
neko259 -
r1728:f4f3de8a default
parent child Browse files
Show More
@@ -177,8 +177,7 b' LOGGING = {'
177
177
178 HAYSTACK_CONNECTIONS = {
178 HAYSTACK_CONNECTIONS = {
179 'default': {
179 'default': {
180 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
180 'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
181 'PATH': os.path.join(os.path.dirname(__file__), 'whoosh_index'),
182 },
181 },
183 }
182 }
184
183
@@ -33,7 +33,7 b' 3. Setup a database in `neboard/settings'
33
33
34 Depending on configured database and search engine, you need to install corresponding dependencies manually.
34 Depending on configured database and search engine, you need to install corresponding dependencies manually.
35
35
36 Default database is *sqlite*, default search engine is *whoosh*.
36 Default database is *sqlite*, default search engine is *simple*.
37
37
38 4. Setup SECRET_KEY to a secret value in `neboard/settings.py
38 4. Setup SECRET_KEY to a secret value in `neboard/settings.py
39 5. Run `./manage.py migrate` to apply all migrations
39 5. Run `./manage.py migrate` to apply all migrations
@@ -63,4 +63,4 b' You can also just clone the mercurial pr'
63
63
64 # CONCLUSION #
64 # CONCLUSION #
65
65
66 Enjoy our software and thank you! No newline at end of file
66 Enjoy our software and thank you!
General Comments 0
You need to be logged in to leave comments. Login now