Saturday, April 23, 2016

How to check the version of Sphinx

$ searchd --help
Sphinx 2.2.10-id64-release (2c212e0)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (

Usage: searchd [OPTIONS]

Options are:
-h, --help display this help message
-c, --config read configuration from specified file
(default is sphinx.conf)
--stop send SIGTERM to currently running searchd
--stopwait send SIGTERM and wait until actual exit
--status get ant print status variables
(PID is taken from pid_file specified in config file)
--iostats log per-query io stats
--strip-path strip paths from stopwords, wordforms, exceptions
and other file names stored in the index header
extra binary log replay options (the only current one
is 'accept-desc-timestamp')

Debugging options are:
--console run in console mode (do not fork, do not log to files)
-p, --port listen on given port (overrides config setting)
-l, --listen listen on given address, port or path (overrides
config settings)
-i, --index only serve given index(es)
--nodetach do not detach into background
--logdebug, --logdebugv, --logdebugvv
enable additional debug information logging
(with different verboseness)
--pidfile force using the PID file (useful with --console)
--safetrace only use system backtrace() call in crash reports

searchd --config /usr/local/sphinx/etc/sphinx.conf

No comments:

Post a Comment