sphinx sphinxse 扩展系统列(Matchestotal、Matchesfound、Querymsec),显示匹配总行数、查询时间等
2013-04-23 14:58
323 查看
get_rec ( byte * buf, const byte * key, uint keylen,uint a,uint b,uint c );
index_next_same ( byte * buf, const byte * key, uint keylen,uint a,uint b,uint c );
SPHINXSE_SYSTEM_COLUMNS 6
SPH_RET ( get_rec ( buf, key, key_len ,pTls->m_tStats.m_iMatchesTotal,pTls->m_tStats.m_iMatchesFound,pTls->m_tStats.m_iQueryMsec ) );
field[3]->store ( a, 1 );
field[4]->store ( b, 1 );
field[5]->store ( b, 1 );
SPH_RET ( get_rec ( buf, m_pCurrentKey, m_iCurrentKeyLen,m_a,m_b,m_c ) );
int ha_sphinx::index_next_same ( byte * buf, const byte * key, uint keylen,uint a,uint b,uint c )
{
SPH_ENTER_METHOD();
SPH_RET ( get_rec ( buf, key, keylen,a,b,c ) );
}
int ha_sphinx::get_rec ( byte * buf, const byte *, uint ,uint a,uint b,uint c)
uint m_a;
uint m_b;
uint m_c;
, m_a ( 0 )
, m_b ( 0 )
, m_c ( 0 )
index_next_same ( byte * buf, const byte * key, uint keylen,uint a,uint b,uint c );
SPHINXSE_SYSTEM_COLUMNS 6
SPH_RET ( get_rec ( buf, key, key_len ,pTls->m_tStats.m_iMatchesTotal,pTls->m_tStats.m_iMatchesFound,pTls->m_tStats.m_iQueryMsec ) );
field[3]->store ( a, 1 );
field[4]->store ( b, 1 );
field[5]->store ( b, 1 );
SPH_RET ( get_rec ( buf, m_pCurrentKey, m_iCurrentKeyLen,m_a,m_b,m_c ) );
int ha_sphinx::index_next_same ( byte * buf, const byte * key, uint keylen,uint a,uint b,uint c )
{
SPH_ENTER_METHOD();
SPH_RET ( get_rec ( buf, key, keylen,a,b,c ) );
}
int ha_sphinx::get_rec ( byte * buf, const byte *, uint ,uint a,uint b,uint c)
uint m_a;
uint m_b;
uint m_c;
, m_a ( 0 )
, m_b ( 0 )
, m_c ( 0 )
相关文章推荐
- js显示当前系统时间
- AndroidStudio logcat显示时间与当前系统时间不一致
- mysql 分组查询以及显示各个分组所有的温度和时间要用GROUP_CONCAT
- 如何在 Linux 系统查询机器最近重启时间
- 万年历(包括显示系统时间)
- jgGrid扩展 显示查询用时
- 如何解决vsftpd下显示的时间与系统时间不一致
- javascript jsp页面动态显示系统时间 测试可用 多浏览器通过测试 (1)
- C语言显示系统时间的几个办法
- 显示系统时间,网络时间转为本地时间
- C/C++中三种方法显示当前系统时间 localtime time.h
- LINQ关联表查询语法和.NET扩展方法和JSON.NET时间格式化代码段
- Linux date命令-显示和设置系统日期与时间 压缩包以YYMMDD格式命令
- C#--第11周实验--任务1(建立Windows窗体应用程序)--设计一个窗体--单击按钮时,在标签上显示当前系统时间 .
- VC++获取系统当前时间并显示
- Linux系统设置 history 相关系统变量(包括显示时间、history条数)
- PPT实现播放时即时显示系统日期与时间
- 显示系统时间
- 我想用 VS2005 建立一个学生信息查询系统,但是调试的时候显示“当前上下文中不存在···”
- 母版页使用问题(显示系统时间 js)