Even I would like to hear an answer to this question. 
>From what I can make out is that all the rake tasks are written with a 
single server in mind.

Perhaps one option could be to deploy the rails app to the search server as 
well. 

Maybe capistrano roles can be used here. Run the thinking sphinx tasks only 
on search server.

I can no longer find the variable ThinkingSphinx.remote_sphinx

-surendra


On Wednesday, June 13, 2012 6:25:05 PM UTC+5:30, Mike wrote:
>
> Hello, 
>
> I've used Sphinx in the past and run/indexed/searched all in one 
> enviro with no problem. Now I've decided to get fancy and stick sphinx 
> on it's own url (http://search.domain.domain.com) and I jut can't seem 
> to get it to connect. 
>
> All the posts, docs, and examples I've found on the web imply that 
> this can be done but, no matter what I do, I keep getting the same 
> generic message when I try to test (by running a simple rake:ts): 
> ***** 
> Sphinx cannot be found on your system. You may need to configure the 
> following 
> settings in your config/sphinx.yml file: 
>   * bin_path 
>   * searchd_binary_name 
>   * indexer_binary_name 
>
>
> For more information, read the documentation: 
> http://freelancing-god.github.com/ts/en/advanced_config.html 
>
> Generating Configuration to /home/foundit_prod/local/etc/sphinx.conf 
> rake aborted! 
> Input/output error - /home/foundit_prod/local/etc/sphinx.conf 
> **** 
> Also keep in mind there's no special setup on the remote domain (like 
> a proxy, etc.) so, even when I do connect, how am I supposed to 
> interact with Sphinx? For instance, I know I could tunnel into the 
> machine and query Sphinx directly, but that seems to defeat the 
> purpose of using Thinking Sphinx. Does that 9312 port handle that 
> transaction? 
>
> Can anyone provide a solution? 
>
> Here's my enviro details: 
>
> Sphinx: v 0.9.8.1 
> Thikning Sphinx: v 2.0.12 8100a4a) 
>
> #sphinx.yml 
>
> development: 
>   listen: subdomain.domain.com 
>   port: 9312 
>   mem_limit: 64M 
>   enable_star: true 
>   bin_path: /home/[user]/local/bin 
>   searchd_file_path: /home/[user]/local/bin 
>   #searchd_log_file: /var/log/searchd/logs/searchd.log 
>   #query_log_file: /var/log/searchd/logs/searchd.query.log 
>   #pid_file: /var/run/searchd.pid 
>   #morphology: stem_en 
>   config_file: /home/[user]local/etc/sphinx.conf 
>
> #development.sphinx.conf 
>
>
> indexer 
> { 
>   #mem_limit = 128M 
> } 
>
> searchd 
> { 
>   #address = http://search.foundit-here.com 
>   #port = 9312 
>   listen = search.foundit-here.com:9312 
>   #log = /Applications/rubystack-3/projects/fih_3/log/searchd.log 
>   #query_log = /Applications/rubystack-3/projects/fih_3/log/ 
> searchd.query.log 
>   #pid_file = /Applications/rubystack-3/projects/fih_3/log/ 
> searchd.development.pid 
> } 
>
>
> #environments/development.rb 
> ... 
>
> ThinkingSphinx.remote_sphinx = true 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/thinking-sphinx/-/BgUvWi1z5nAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to