0
我想从mongodb导入多个集合到elasticsearch并加入它们,可以说如果连接是不可能的,至少我想从一些mongo集合中的特定字段到河中弹性搜索使用单河meta?是否有可能在elasticsearch中使用单个mongo-river meta导入多个mongo集合?
尝试低于元,不起作用。
PUT _river/mongodbicslicense/_meta
{
"type": "mongodb",
"mongodb": {
"servers": [
{
"host": "abc",
"port": "27017"
}
],
"options": {
"skip_initial_import": false
"include_collection": [
"abc",
"xyz"
],
"include_fields": [
"A",
"B",
"X",
"Z"
]
},
"db": "datadb",
"gridfs": false,
"credentials": [
{
"db": "datadb",
"user": "me",
"password": "mypass"
}
]
},
"index": {
"name": "frommongoindex",
"type": "abcd"
}
}
探索mongo,需要帮助吗?