By making connection to sphinxsearch host on tcp port 9313, one could trigger
sphinx index rotate. For example you can put
netcat sphinxsearch 9313 in
your init script to trigger update.
After first indexer run searchd startup must be triggered by making connection
to 2048 port. For example using netcat. After startup this port will be closed
and no further connections will be accepted.
supported env vars
Full path to sphinx configuration file. Can be either in project repository
tree or mounted from outside.
You can use
./log/ directories in your sphinx.conf to
store your index and log data. For logging purpose usage of /proc/self/stdout
is recommended as it will output messages dirrectly to your console instead of
storing them in hard-to-access file.
default value: /full/path/to/your/sphinx.conf
Interval in seconds to wait between automatic index rotates.
- 0 - no wait, continously rotate index
- -1 - don't rotate at all (manual indexing will be required)
default value: -1