Updates in mongodb don't make it to elasticsearch
I am using elasticsearch and mongodb. Setting up the river a week ago. Today on search records, just check that elasticsearch index is not updating or changing as records in mongodb are added daily.
I am using the following lines to create rivers
curl -XPUT "localhost:9200/_river/myindex/_meta" -d '
{
"type": "mongodb",
"mongodb": {
"host": "localhost",
"port": "27017",
"db": "qna",
"collection": "collection"
},
"index": {
"name": "myindex",
"type": "index_type"
}
}'
+3
source to share
No one has answered this question yet
Check out similar questions: