Skip to content
Browse files

Merge pull request #7 from harukizaemon/master

Added very simple documentation for configuring word forms, exceptions, and stop words
  • Loading branch information...
2 parents 9e37528 + 9a4c15a commit 644a33927349fe188572115a6f32100205b91c2e @pat committed Dec 19, 2011
Showing with 14 additions and 0 deletions.
  1. +14 −0 ts/en/advanced_config.textile
View
14 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 %}
+development:
+ 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 644a339

Please sign in to comment.
Something went wrong with that request. Please try again.