Skip to content

Commit

Permalink
Merge remote branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Dec 27, 2011
2 parents fbd4dd9 + 644a339 commit 1e47f05
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ts/en/advanced_config.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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 1e47f05

Please sign in to comment.