I'm afraid I've not dealt with this before... what you've got as your config 
looks right (though config_file is configuration_file instead - maybe that's 
part of the problem?) And just confirming - this is all in 
config/thinking_sphinx.yml, yes? Not config/sphinx.yml?

On 19 Feb 2014, at 11:31 pm, Ramya A <[email protected]> wrote:

> Hi
> 
> We are using sphinx in our test environment and recently moved to running the 
> tests in parallel.
> Now i see a few failures as below:
> 
> ThinkingSphinx::SphinxError: index meeting_core: index not available
> 
> ActionView::Template::Error: no enabled local indexes to search
> 
> I see that the tests failing with these errors, are in fact passing - if i 
> run them separately.
> This clearly seems like an issue with running the tests in parallel.
> 
> Has someone faced similar issues? Could someone advise on how to fix it?
> The config in my sphinx.yml is :
> 
> 
> test: &test
>   mysql41: <%= 9314 + (ENV['TEST_ENV_NUMBER'].to_i % 100) %>
>   config_file: <%= Rails.root.to_s %>/config/test<%= ENV['TEST_ENV_NUMBER'] 
> %>.sphinx.conf
>   indices_location: <%= Rails.root.to_s %>/db/sphinx/test<%= 
> ENV['TEST_ENV_NUMBER'] %>/
>   pid_file: <%= Rails.root.to_s %>/log/test<%= ENV['TEST_ENV_NUMBER'] 
> %>.searchd.pid
>   query_log_file: <%= Rails.root.to_s %>/log/test<%= ENV['TEST_ENV_NUMBER'] 
> %>.searchd.query.log
>   searchd_log_file: <%= Rails.root.to_s %>/log/test<%= ENV['TEST_ENV_NUMBER'] 
> %>.searchd.log
>   binlog_path: <%= Rails.root.to_s %>/db/sphinx/test<%= 
> ENV['TEST_ENV_NUMBER'] %>/binlog
> 
> Thanks
> Ramya
> 
> 
> -- 
> 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.
> 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to