Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
$sphinx = new SphinxClient();
$sphinx->SetServer('127.0.0.1', 9312);
$sphinx->SetMatchMode(SPH_MATCH_FULLSCAN);
$sphinx->SetFilter('tag', array(1,2,3));
$result = $sphinx->Query('', '*');
sphinxsearch.com/docs/current.html#matching-modes
As I understand it, either you directly specify the full-scan mode, then, in theory, the request is ignored (I don’t remember already).
or you give an empty query — $sphinx->Query('', '*');
this is if you have docinfo in extern mode.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question