NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
NIMQueryMsgLocalAsyncParam结构体 参考

本地全文检索参数 更多...

#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 NIMMessageTypemsg_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
 

详细描述

本地全文检索参数

类成员变量说明

◆ account_id_

const char* NIMQueryMsgLocalAsyncParam::account_id_

要检索的会话 ID 可以为空,留空是搜索全部匹配内容

◆ direction_

NIMMsglogSearchDirection NIMQueryMsgLocalAsyncParam::direction_

查询方向,

参见
NIMMsglogSearchDirection

◆ enable_pinyin_

bool NIMQueryMsgLocalAsyncParam::enable_pinyin_

bool 是否使用拼音检索能力,默认为 true

◆ end_time_

int64_t NIMQueryMsgLocalAsyncParam::end_time_

int64_t 结束时间点,单位:毫秒

◆ from_time_

int64_t NIMQueryMsgLocalAsyncParam::from_time_

int64_t 起始时间点,单位:毫秒

◆ keyword_

const char* NIMQueryMsgLocalAsyncParam::keyword_

检索关键字

◆ limit_count_

int NIMQueryMsgLocalAsyncParam::limit_count_

int 本次查询的消息条数上限(最多100条)

◆ msg_type_list_

enum NIMMessageType* NIMQueryMsgLocalAsyncParam::msg_type_list_

list 要获取的消息类型

◆ segment_engine_

NIMMsglogSearchSegmentEngine NIMQueryMsgLocalAsyncParam::segment_engine_

全文检索对原文的分词方式,

参见
NIMMsglogSearchSegmentEngine

◆ to_type_

enum NIMSessionType NIMQueryMsgLocalAsyncParam::to_type_

enum 会话类型,双人0,群组1 (nim_msglog_def.h),当 account ID 为空时忽略该参数

◆ type_list_length_

int NIMQueryMsgLocalAsyncParam::type_list_length_

int type list 长度


该结构体的文档由以下文件生成: