sphinx,coreseek中返回的结果数

各个区别如下:

num_matches: 当前返回的结果数,<= limit设置值。

max_matches: 最多返回的结果数,默认为1000,用户最多只能看到1000条搜索结果。

total_found: 结果总数。索引中所有满足查询条件的文档总数。

total: 最多返回结果数,取值取决于max_matches值和total_found值。如果total_found数超过max_matches,则total = max_matches,否则,total = total_found。可以用于分页。

猜你喜欢

转载自phpseyo.iteye.com/blog/1672033