Answer the question
In order to leave comments, you need to log in
How to find out how many records were found in SphinxSE?
There is a certain index, access to which goes through SphinxSE.
For example, like this:
select
Page.Name,
SearchCatalog.*
from
SearchCatalog
join Page
on Page.Id = SearchCatalog.id
where
SearchCatalog.`query` = 'рюшь рюшь*;limit=2'
SHOW STATUS LIKE 'Sphinx_total_found';
Answer the question
In order to leave comments, you need to log in
Yes, this is the right decision, because. the 'Sphinx_total_found' variable is bound to the current connection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question