Browse files

Add documentation for configuring Word forms, exceptions, and stop words

  • Loading branch information...
harukizaemon committed Dec 20, 2011
1 parent 9e37528 commit 9a4c15aba474d671e91f207160ac3f1f4b62d5e8
Showing with 14 additions and 0 deletions.
  1. +14 −0 ts/en/advanced_config.textile
@@ -168,3 +168,17 @@ development:
{% endhighlight %}
Given a standard production environment does not re-initialize the app on every request, this is only useful in development. And make sure you remember to update it if you add index definitions to models!
+h3. Word Forms, Exceptions, and Stop Words
+To configure Thinking Sphinx for any of these features, simply specify the path to the appropriate file in your @config/sphinx.yml@ file:
+{% highlight yaml %}
+ wordforms: "/full/path/to/wordforms.txt"
+ exceptions: "/full/path/to/exceptions.txt"
+ stopwords: "/full/path/to/stopwords.txt"
+# ... repeat for other environments
+{% endhighlight %}
+For full details on what these features actually do, please refer to the Sphinx documentation.

0 comments on commit 9a4c15a

Please sign in to comment.