Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I cannot give you a complete answer because I have got the same "problem". However, I can probably give you a hint.</p> <p>Basically, you have already started the daemon which is good news. When you run <code>searchd</code> from console and get the message <code>accepting connections</code> you can start asking questions! <code>searchd</code> is ready to answer (as long as it runs in a console window). I personally ask questions from VB.NET using <code>Sphinx.Client</code>. <code>searchd</code> listens on ports 9306 and 9312 (you can change it in a config), so I send him questions on port 9312. He answers and I process those answers. That's all.</p> <p>When I finish searching and close my app, the console is still on and I have to close it manually (Ctrl+Break). And that is what annoys me a little bit. I would imagine that it runs somewhere in the background without me even notice it (service).</p> <p>Until now I could not figure out why my Sphinx didn't run as a service. Now I have got it working. The problem was that I blindly used a command from Sphinx on-line manual and didn't change <strong>path to config</strong> accordingly. Originally (the manual): <code>C:\Sphinx\bin\searchd --install --config C:\Sphinx\sphinx.conf.in --servicename SphinxSearch</code></p> <p>Working for me: <code>C:\Sphinx\bin\searchd --install --config C:\Sphinx\sphinx.conf --servicename SphinxSearch</code></p> <p>Correct is <code>sphinx.conf</code> and not <code>sphinx.conf.in</code> (in my case).</p> <p>Note: If you have already tried to install <code>searchd</code> as a service you might want to delete it first as you can't add another service with the same name. Have a look at e.g. <a href="http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/">http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/</a>. Then issue correct command with correct path to your config. You get desired behaviour, i.e. service runs in the background and will not remain in opened console window.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload