Right - your sphinx.yml file is for Thinking Sphinx v1/v2, but your Gemfile's 
got Thinking Sphinx 3.0.3 (which is the latest release).

If you want to stick with v3 (which I certainly recommend), you'll need to 
update your sphinx.yml - first, it should be named thinking_sphinx.yml, and 
most settings need renaming:

* 'searchd_log' is now 'log' (matches Sphinx's own config name)
* 'searchd_query_log' is now 'query_log' (matches Sphinx's own config name)
* 'config_file' is now 'configuration_file'
* 'searchd_file_path' is now 'indices_location'

Give that a shot, let us know how you go.

Cheers

-- 
Pat

On 10/06/2013, at 11:58 PM, [email protected] wrote:

> forgot to include the entry form Gemfile.lock
> 
> GIT
>   remote: https://github.com/pat/thinking-sphinx.git
>   revision: 8c662b6c8039505d639b641474db9bf02e808296
>   specs:
>     thinking-sphinx (3.0.3)
>       activerecord (>= 3.1.0)
>       builder (>= 2.1.2)
>       innertube (>= 1.0.2)
>       middleware (>= 0.1.0)
>       riddle (>= 1.5.6)
> 
> Thanks
> Ravi Ada
> 
> On Monday, June 10, 2013 9:55:32 AM UTC-4, [email protected] wrote:
> Thanks Pat for the reply. Here is what I have in my Gemfile. getting is from 
> git, bad idea?
> 
> gem 'thinking-sphinx', :git => 'https://github.com/pat/thinking-sphinx.git'
> 
> thanks
> Ravi Ada
> 
> On Monday, June 10, 2013 8:42:05 AM UTC-4, Pat Allan wrote:
> Hi Ravi
> Can you confirm which version of Thinking Sphinx you're using? And if you're 
> deploying your app with the Gemfile.lock file?
> 
> Kind regards,
> 
> -- 
> Pat
> 
> On 10/06/2013, at 10:32 PM, [email protected] wrote:
> 
> > #rubber/common/sphinx.yml
> > <%
> >   @path = "#{Rubber.root}/config/sphinx.yml"
> >         shared_path = "/mnt/#{rubber_env.app_name}-#{Rubber.env}/shared" 
> > %>
> > <%= Rubber.env %>:
> >   address:            <%= 
> > rubber_instances.for_role('sphinx').first.full_name rescue 'localhost' %>
> >   mem_limit:          <%= Rubber.env == 'production' ? '1024M' : '64M' %>
> >   config_file:        <%= shared_path %>/sphinx/config/<%= Rubber.env 
> > %>.sphinx.conf
> >   searchd_file_path:  <%= shared_path %>/sphinx/db/<%= Rubber.env %>/
> >   pid_file:           <%= Rubber.root %>/log/searchd.<%= Rubber.env %>.pid
> >   searchd_log_file:   <%= Rubber.root %>/log/searchd.log
> >   query_log_file:     <%= Rubber.root %>/log/searchd.query.log
> > 
> > #/config/sphinx.yml
> > production:
> >   address:            medl.io
> >   mem_limit:        1024M
> >   config_file:        
> > /mnt/medlioapi-production/shared/sphinx/config/production.sphinx.conf
> >   searchd_file_path:  /mnt/medlioapi-production/shared/sphinx/db/production/
> >   pid_file:           
> > /mnt/medlioapi-production/releases/20130609222552/log/searchd.production.pid
> >   searchd_log_file:   
> > /mnt/medlioapi-production/releases/20130609222552/log/searchd.log
> >   query_log_file:     
> > /mnt/medlioapi-production/releases/20130609222552/log/searchd.query.log
> > 
> > 
> > rake ts:configure
> > Generating configuration to 
> > /mnt/medlioapi-production/releases/20130609222552/config/production.sphinx.conf
> > 
> > the question is why its generating it in releases folder instead of shared 
> > even though I specified it to generate it in shared folder in sphinx.yml.
> > 
> > Thanks
> > Ravi ada
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >  
> >  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to