Heroku 支持 Thinking Sphinx 吗?
我想知道 Heroku 是否支持 Sphinx(及其宝石Thinking Sphinx)
I would like to know if Heroku supports Sphinx (and its gem Thinking Sphinx)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
看起来 Heroku 很快就会通过 Flying-Sphinx 支持 Sphinx
Looks like Heroku soon will support Sphinx through Flying-Sphinx
您需要启动一个 ec2 实例,并将所有文本放入 SimpleDB 或 S3 等中进行搜索,然后在 EC2 上运行 Sphinx。响应速度会很快,因为您的 heroku 应用程序也在 EC2 上。因此,EC2 实例只能处理文本搜索,并在 Heroku 上使用漂亮的网站。
You would need to launch an ec2 instance, and put all the text to search in SimpleDB, or S3, etc then run Sphinx on the EC2. Response would be fast as your heroku app is also on EC2. So the EC2 instance could only handle text searching, with the pretty web site on Heroku.
不,不是
您实际上无法使用大多数文本基于 Heroku 的搜索,因为你将无法拥有可写目录
nope it doesn't
you can't actually use most text-based searches in heroku because you won't be able to have a writable directory
Tom 解决方案似乎是可能的...我个人迁移到 Sunspot Solr,以便通过 Websolr 更轻松地部署到 Heroku。我喜欢太阳黑子,尽管我确实偶尔会遇到奇怪的结果,尤其是我需要一直重新索引。 Websolr 确实偶尔会出现一些小问题,但它正在变得更好。
Tom solution seems possible... I personally moved to Sunspot Solr to deploy to Heroku more easily through Websolr. I love Sunspot, though I do face occasional weird results, especially that I need to reindex all the time. Websolr does have minor hiccups every now and then, but it's getting better.
Thinking Sphinx 在 Heroku 上得到支持,但每月费用为 12 美元,这有点糟糕。
Thinking Sphinx is supported on heroku but it costs 12 bucks a month, which sorta sucks.