elasticsearch-river-mongodb
elasticsearch-river-mongodb copied to clipboard
Initial Import not starting, status is "running"
Recently we had a breaking change in our schema. We added an object which doesn't need to be included in elasticsearch, so I'm still using the same exact mapping that had worked fine previously. When I try and reindex to a new type I'm unable to get the import to start. It says its running and logs no errors or any additional info. I'm very confused because this is the exact mapping that I had used before and had worked. The only change is I made a new type and a new river with the option to exclude the new field.
These are my river settings:
{
"type":"mongodb",
"mongodb":{
"servers":[
{
"host":"db1.redef.co",
"port":27017
},
{
"host":"db2.redef.co",
"port":27017
}
],
"db":"redef-api",
"collection":"articles",
"options": {
"exclude_fields": ["curator_note"]
}
},
"index":{
"name":"redef",
"type":"articles_2"
}
}
I completely reinstalled elasticsearch, tried the same mapping and river config and it worked. This leads me to believe that mongo river was not the issue. This ticket can be closed.
Would you please list all your versions?