# Sphinx Running problem

**URL:** <https://www.ruby-forum.com/t/sphinx-running-problem/159323>\
**Category:** Rails\
**Created:** [February 3, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/sphinx-running-problem/159323 "2009-02-03T13:18:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag\_shah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/47e85d/32.png) [@chirag\_shah](https://www.ruby-forum.com/u/chirag_shah)\
**Post date:** [February 3, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/sphinx-running-problem/159323/1 "2009-02-03T13:18:11Z")

</div>

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???
