No erros, but search is not working on Heroku
I've been trying to get Sphinx to run on Heroku since a few days
to no avail.
heroku run bundle exec flying-sphinx configure gives
no error messages
heroku run bundle exec flying-sphinx
index runs perfectly fine
heroku run bundle exec
flying-sphinx start runs fine too
Here is my current stack:
Sharetribe CMS (Ruby 2.1.2 & Rails 3.2.21)
Let me know if you guys need more info from me. Thanks in advance for any help!
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Pat Allan on 16 Nov, 2015 11:18 PM
Indexing is running, but it's raising errors (which should be visible when you run it) because ClearDB uses SSL for the database connections, and you'll need to configure your Sphinx installation with that certificate too.
The relevant Sphinx settings for MySQL and SSL are listed here:
If you set these in
config/thinking_sphinx.ymlfor the correct environment (each refer to a file), and then deploy that change with the appropriate files (which will need to be within your repo, referred to via relative paths from your project root), the next time you run
configure, those settings will be pushed up to the Flying Sphinx servers, and indexing should work after that.
If anything's not clear with this, or a new issue appears, do let me know.