I\'ve setup Sphinx and having an issue with the PHP API ordering returning - the search daemon returns the correct array response however the PHP API seems to returns in ID orde
seems like search tool defaults to bm25 ranking . Try adding $cl->SetMatchMode(SPH_MATCH_EXTENDED2); $cl->SetRankingMode(SPH_RANK_BM25); You should get same result. Btw, don't trust search tool too much , it's more for testing and kinda a 'second class citizen' in the Sphinx project. Use API or sql interface.