Answer the question
In order to leave comments, you need to log in
Why is query not working in Sphinx Yii2?
The decision was in my carelessness, sorry to disturb. Advice: get enough sleep
Hello everyone, I installed Sphinx, everything works, it gives the result through the console - joxi.ru/823bGEDI6YRv1m
But if I make a request from Yii2, then I get NULL
Request:
$query = new QuerySpx();
$rows = $query
->from('testDoc2Index')
->all();
\yii\helpers\VarDumper::dump($rows, 10, true);
'sphinx' => [
'class' => 'yii\sphinx\Connection',
'dsn' => 'mysql:host=127.0.0.1;port=9306;',
'username' => 'root',
'password' => '',
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question