mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 23:01:29 +00:00
add SPHINX_SERVER
This commit is contained in:
@@ -3824,7 +3824,9 @@
|
||||
|
||||
$sphinxClient = new SphinxClient();
|
||||
|
||||
$sphinxClient->SetServer('localhost', 9312);
|
||||
$sphinxpair = explode(":", SPHINX_SERVER, 2);
|
||||
|
||||
$sphinxClient->SetServer($sphinxpair[0], $sphinxpair[1]);
|
||||
$sphinxClient->SetConnectTimeout(1);
|
||||
|
||||
$sphinxClient->SetFieldWeights(array('title' => 70, 'content' => 30,
|
||||
|
||||
Reference in New Issue
Block a user