1. Mongo索引写入配置指南
功能描述:
一:api接口信息
适配器选择:\Adapter\MongoDB\MongoDBQueryAdapter
api接口信息:createIndex
二:配置指南
示例方案:https://pro.qliang.cloud/strategy/detail/3ba36520-355e-3f32-acba-7bc2e0ec9709
{
"data": {
"index1": {
"key": "content.FID",
"sort": "1"
}
},
"collectionName": "60dabfe6-8949-3623-a772-c79c2289eba5_ADATA"
}
三:参数说明
参数名称类型是否必填描述
dataobject是索引配置信息
index1object是索引字段,可以设置多个索引字段
keystring是索引字段名称
sortstring是索引排序,1为升序,-1为降序
collectionNamestring是集合名称