I wish I could be some help here - but I've never used TS on Windows. I know 
others have though - but perhaps they don't regularly haunt this list. Perhaps 
ask on Stack Overflow as well?

-- 
Pat

On 23/06/2011, at 4:02 PM, J nirty wrote:

> some update on the issue but problem still persists
> 
>  1. installed thinking sphinx first using gem
>  2. downloaded the sphinx search engine and put them in the C drive named as 
> like c:\sphinx>
>  3. added indexes to the model on RoR .
>  4. Indexed it using "rake ts:index" and it generated the " 
> development.sphinx.conf ".
>  5. Then I tried installing sphinx daemon from the command prompt with the 
> config file as "development.sphinx.conf"
>  6. When I tried " rake ts:start" , It still hangs... and the daemon will not 
> start. so I exited and
>  7. started the searchd service manually from services.msc. Now the search 
> daemon works fine and I can use the RoR to search.
> 
> But the problem of starting service from RoR still persists it hangs without 
> giving any error or success message on the console.
> 
> Any suggestions will be greately helpful.
> 
> Thank you,
> 
> On Wed, Jun 22, 2011 at 2:18 PM, J nirty <[email protected]> wrote:
> 
> 
> I  am trying to install sphinx on Windows 7 to be used with RoR 3.
> 
> I Installed Sphinx 2.0.1, By extracting it to the path c:\sphinx and 
> installed it by c:\sphinx\bin>searchd  --install      ( Tried with and 
> without default config file, sphinx.conf that comes with sphinx download )
> 
>  and thinking-sphinx version 2.0.5 using ruby Gem
> 
> I did make the changes in the model specifying Indexes and Attrributes.
> 
> I also included sphinx.yml file in the config folder , with following 
> configurations
> development:
>   port: 9312
>   bin_path: "c:/sphinx/bin"
>   
> 
> When I run rake ts:index, -- It completes  the task with the following output:
> 
> using config file 'C:/Users/Wox/My Documents/Aptana Studio 3 
> Workspace/nirty17/config/development.sphinx.conf'...
> indexing index 'ad_core'...
> collected 8 docs, 0.0 MB
> sorted 0.0 Mhits, 100.0% done
> total 8 docs, 90 bytes
> total 0.037 sec, 2373 bytes/sec, 210.98 docs/sec
> distributed index 'ad' can not be directly indexed; skipping.
> total 5 reads, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg
> total 10 writes, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg
> 
> but when I try to start by rake ts:start , the console hangs and stops 
> without giving any errors or outputs. 
> 
> and Sometimes when I tried It actually creates three Log files in the RoR 
> project folder with the names
> binlog.001
> binlog.lock
> binlog.meta 
> with weird characters in it . sometimes the binlog.lock shows " The portion 
> of the file may be locked by some other process" and some times it does not. 
> 
> And most times these files are not created but the console just hangs up with 
> out giving any message when I try to start. 
> 
> I also tried starting the sphinx in services.msc manually, but it gives the 
> "error :1607 termination expected unexpectedly"
> 
> I have no Idea what the error might be and any suggestions and help is 
> greatly appreciated.
> 
> Thank you,
> 
> Note:
> I tried with different versions of both Sphinx, and thinking sphinx, and on 
> many computers with windows 7 on it. I also tried changing the file 
> permissions of the installed Sphinx folder.
> I had a problem earlier with indexing which said bin_path not found and I 
> fixed it by setting up sphinx.yml file in the config folder.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.

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

Reply via email to