I am fairly new to TS and have spent hours trying to figure this error
message but without any success.
Any help will be greatly appreciated.
My environment:
Mac OSX
Ruby 1.9.3
Rails 3.2.13
Sphinx 2.0.6-release (r3473)
Thinking Sphinx 3.0.4
config/development.sphinx.conf:
indexer
{
}
searchd
{
listen = 127.0.0.1:9306:mysql41
log = /Users/sloo/RailsApps/onestopmedic/log/development.searchd.log
query_log =
/Users/sloo/RailsApps/onestopmedic/log/development.searchd.query.log
pid_file = /Users/sloo/RailsApps/onestopmedic/log/development.sphinx.pid
workers = threads
binlog_path = /Users/sloo/RailsApps/onestopmedic/tmp/binlog/development
}
config/sphinx.yml:
development:
bin_path: "/opt/local/bin"
searchd_binary_name: searchd
indexer_binary_name: indexer
mysql41: 9312
test:
mysql41: 9313
production:
mysql41: 9312
Model:
class SupportGroup < ActiveRecord::Base
belongs_to :user
belongs_to :group_category
.....
app/indices/support_group_index.rb :
ThinkingSphinx::Index.define :support_group, :with => :active_record do
indexes name, description, detail
has group_category_id, created_at
where "status = 'approved'"
end
When I tried to run
rake ts:index
I get the following error message:
using config file '......./config/development.sphinx.conf'...
FATAL: no indexes found in config file'....../config/development.sphinx.conf'
I have tried all different 'solutions' but still could not resolve issue.
Thanks for your input.
--
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.