create service using searchd command of Sphinx -


    make index on 1 sphinx compatible xml document.it runs success fully. make service using searchd command.following command make service  

searchd --install --config "path config file" --servicename "servicename" --port "portnumber".

if sphinx config file put inside sphinx directory service create , start successfully.  if config file not inside sphinx directory service created can not start successfully.  should change inside searchd block in config file? 

according the documentation (http://sphinxsearch.com/docs/current.html#ref-searchd) parameters specified when creating service called when starting service.

--install installs searchd service microsoft management console (control panel / administrative tools / services). other parameters specified on command line, --install specified become part of command line on future starts of service. example, part of calling searchd, need specify configuration file --config, , specifying --install. once called, usual start/stop facilities become available via management console, methods use starting, stopping , restarting services apply searchd. example:

c:\windows\system32> c:\sphinx\bin\searchd.exe --install --config c:\sphinx\sphinx.conf

the above command means config file must exist @ c:\sphinx\sphinx.conf.

if "path config file" exists , service still not start, suggest creating bug @ http://sphinxsearch.com/bugs/main_page.php cab resolved.

in meantime, put config file in sphinx directory works.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -