Where to put the stopwords.txt and wordforms.txt on heroku?
Support Staff2 Posted by Pat Allan on 11 Jan, 2012 07:39 AM
I'm fairly certain paths in sphinx.yml will be considered
relative to the root of your Rails application. So, in your current
example, you'll want to put wordforms.txt and stopwords.txt in the
root of your project. I would suggest putting them under config
instead - perhaps in config/sphinx.
And then, in your config/sphinx.yml file, you'll
set wordforms: config/sphinx/wordforms.txt, etc.
At least it doesn't say it doesn't exists anymore.
But my wordforms/stopwords isn't working and min_prefix_len: 1
min_infix_len: 1 isn't working. After I ran heroku run rake
fs:rebuild. I also had to change back to version: '1.10-beta' but
that is another discussion: 2.1.0 gave me: (undefined method
`constantize' for nil:NilClass).