sphinxsearchHow can I create a Sphinx search query log?
- Create a log file for Sphinx search query by using the
searchd --log
option. This option can be used to log all queries that are sent to Sphinx.
searchd --log /path/to/sphinx.log
- To log the query time, use the
--log-query-time
option. This will log the query time in microseconds.
searchd --log-query-time /path/to/sphinx.log
- To log the query results, use the
--log-query-results
option. This will log the query results in JSON format.
searchd --log-query-results /path/to/sphinx.log
- To log the query errors, use the
--log-query-errors
option. This will log the query errors in plain text format.
searchd --log-query-errors /path/to/sphinx.log
- To log the query warnings, use the
--log-query-warnings
option. This will log the query warnings in plain text format.
searchd --log-query-warnings /path/to/sphinx.log
- To log the query parameters, use the
--log-query-params
option. This will log the query parameters in plain text format.
searchd --log-query-params /path/to/sphinx.log
- To log the query meta-data, use the
--log-query-meta
option. This will log the query meta-data in plain text format.
searchd --log-query-meta /path/to/sphinx.log
Helpful links
More of Sphinxsearch
- How do I upgrade Sphinx Search?
- How do I use Sphinxsearch with Zsh?
- How can I use Sphinx Search to generate word forms?
- How do I set up SphinxSearch with Zoom?
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I integrate Sphinxsearch with Yii2?
- How do I configure SphinxSearch using YAML?
- How do I configure SphinxSearch to ignore certain stop words?
- How do I install Sphinxsearch on Ubuntu?
- How can I set up SphinxSearch to work with Yandex?
See more codes...