I have fetching records from SphinxQl . Here i have to be find out howmany sphinxQL querys coming to server. As the same i have to be know any options is there to add comments in sphinxQl query. Please help me to findout the solutions.
Asked
Active
Viewed 261 times
2 Answers
2
... OPTION comment='This is a comment to be entered in the log file'
From the documentation: http://sphinxsearch.com/docs/current.html#sphinxql-reference

barryhunter
- 20,886
- 3
- 30
- 43
-
When using PHP ```SphinxClient```, you can add "comment" as third parameter like ```$sphinxClient->query("searchstring", "main", "this is comment line")``` as from here: http://php.net/manual/en/sphinxclient.query.php – Arnis Juraga Jan 06 '18 at 14:37
0
(to complete, but the other answer is more linked to your problem)
with SphinxSE
WHERE query="(....);comment=This is a comment to be entered in the log file"

Moosh
- 386
- 1
- 8