Answer the question
In order to leave comments, you need to log in
How to solve this nuance when upgrading Sphinx to v3?
The essence of the problem is this, maybe someone came across.
Was on version 2.2.10, decided to switch to 3.0.3. I noticed huge changes, for example, with the same number of records in the database, the final size of the index on the 3rd version is two times less than on the 2nd version. I was delighted, but when it came to pulling data from the new Sphinx, it was a complete disappointment.
There seems to be no problems with the search itself, but the whole trouble is different. My site has pagination support from the 1st page to the very last one. That is, the user can take and go to the very last page or to any other. Don't ask why, long story, it's necessary. To jump across all pages, I did it on version 2 like this:
$cl->SetLimits(($page - 1) * $perPage, $perPage, 500000); // 500k это с запасом
$result = $cl->Query('', 'articles delta');
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