NIM PC Cross Platform SDK
|
本地全文检索参数 更多...
#include <nim_msglog_def.h>
Public 属性 | |
const char * | keyword_ |
检索关键字 | |
const char * | account_id_ |
要检索的会话 ID 可以为空,留空是搜索全部匹配内容 | |
enum NIMSessionType | to_type_ |
enum 会话类型,双人0,群组1 (nim_msglog_def.h),当 account ID 为空时忽略该参数 | |
enum NIMMessageType * | msg_type_list_ |
list 要获取的消息类型 | |
int | type_list_length_ |
int type list 长度 | |
int | limit_count_ |
int 本次查询的消息条数上限(最多100条) | |
int64_t | from_time_ |
int64_t 起始时间点,单位:毫秒 | |
int64_t | end_time_ |
int64_t 结束时间点,单位:毫秒 | |
NIMMsglogSearchDirection | direction_ |
查询方向, | |
NIMMsglogSearchSegmentEngine | segment_engine_ |
全文检索对原文的分词方式, | |
bool | enable_pinyin_ |
bool 是否使用拼音检索能力,默认为 true | |
本地全文检索参数
const char* NIMQueryMsgLocalAsyncParam::account_id_ |
要检索的会话 ID 可以为空,留空是搜索全部匹配内容
NIMMsglogSearchDirection NIMQueryMsgLocalAsyncParam::direction_ |
查询方向,
bool NIMQueryMsgLocalAsyncParam::enable_pinyin_ |
bool 是否使用拼音检索能力,默认为 true
int64_t NIMQueryMsgLocalAsyncParam::end_time_ |
int64_t 结束时间点,单位:毫秒
int64_t NIMQueryMsgLocalAsyncParam::from_time_ |
int64_t 起始时间点,单位:毫秒
const char* NIMQueryMsgLocalAsyncParam::keyword_ |
检索关键字
int NIMQueryMsgLocalAsyncParam::limit_count_ |
int 本次查询的消息条数上限(最多100条)
enum NIMMessageType* NIMQueryMsgLocalAsyncParam::msg_type_list_ |
list 要获取的消息类型
NIMMsglogSearchSegmentEngine NIMQueryMsgLocalAsyncParam::segment_engine_ |
全文检索对原文的分词方式,
enum NIMSessionType NIMQueryMsgLocalAsyncParam::to_type_ |
enum 会话类型,双人0,群组1 (nim_msglog_def.h),当 account ID 为空时忽略该参数
int NIMQueryMsgLocalAsyncParam::type_list_length_ |
int type list 长度