Total Found Count Miss-match while doing sorting V2.1 Sphinx -
when sorting on unixtimestamp date field total_found count shows different result . here query
select * ca_sac_persons,ca_kc_persons,ca_sfc_persons,ca_sj_persons match('@fullname("^john$" | "^joseph$" | "^jose$" | "^josh$" | "^robs$")') order filing_date_ts desc limit 0,1;show meta; result : +---------------+-------------+ | variable_name | value | +---------------+-------------+ | total | 1000 | | total_found | 4813 | | time | 0.019 | | docs[9] | 4603 | | hits[9] | 5312 | +---------------+-------------+ select * ca_sac_persons,ca_kc_persons,ca_sfc_persons,ca_sj_persons match('@fullname("^john$" | "^joseph$" | "^jose$" | "^josh$" | "^robs$")') order filing_date_ts asc limit 0,1;show meta; result : +---------------+-------------+ | variable_name | value | +---------------+-------------+ | total | 1000 | | total_found | 4812 | | time | 0.019 | | docs[9] | 4603 | | hits[9] | 5312 | +---------------+-------------+
why total_found shows 1 record less in 2nd query ?
Comments
Post a Comment