From d72455aa9cf8a2b172edc3093ce8725d7cf6cb1a Mon Sep 17 00:00:00 2001 From: James Socol Date: Tue, 9 Feb 2010 13:11:20 -0800 Subject: [PATCH] Rename a few settings from SPHINX_* to SEARCH_* --- settings.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/settings.py b/settings.py index 3fb4cf62d..77bd41abd 100644 --- a/settings.py +++ b/settings.py @@ -112,6 +112,11 @@ SPHINX_PORT = 3312 # # Sphinx results tweaking -SPHINX_FORUM_MIN_AGE = 7 # age before which decay doesn't apply, in days -SPHINX_FORUM_HALF_LIFE = 14 # controls the decay rate, in days -SPHINX_RESULTS_PER_PAGE = 10 +SEARCH_FORUM_MIN_AGE = 7 # age before which decay doesn't apply, in days +SEARCH_FORUM_HALF_LIFE = 14 # controls the decay rate, in days +SEARCH_RESULTS_PER_PAGE = 10 + +# +# Search default settings +SEARCH_DEFAULT_CATEGORIES = '1,17,18' # comma-separated string of category IDs +SEARCH_DEFAULT_FORUM = '1' # default forum ID (eg: 1 on sumo, 5 on mosumo)