Forum: Ruby on Rails Sphinx Running problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
260833afbea616097b7d93ea019525e6?d=identicon&s=25 Chirag Shah (chirags)
on 2009-02-03 13:18
Hi,

I have windows PC.First, i had install sphinx-0.9.8-win32.zip. and then
add sphinx as plugin.and set sphinx.yml file in config/sphinx.yml

my sphinx.yml is as below

config file::      config/#{environment}.sphinx.conf
searchd log file:: log/searchd.log
query log file::   log/searchd.query.log
qid file::         log/searchd.#{environment}.pid
searchd files::    db/sphinx/#{environment}/
address::          0.0.0.0 (all)
port::             3312
allow star::       false
mem limit::        64M
max matches::      1000
morphology::       stem_en
charset type::     utf-8
charset table::    nil

i have put some code for test

sphinx = Sphinx::Client.new
@sphinx.SetSortMode(Sphinx::Client::SPH_SORT_ATTR_ASC, 'created_at')
results = @sphinx.Query('test')

First i have checked that 'telnet localhost 3312' from cmd and it is
connected. So  the service is running and accepting connections

Now i have start my application on webric port 3000

But still it gives me results = false

Can any one help me in this????
This topic is locked and can not be replied to.