elasticsearch-river-mongodb icon indicating copy to clipboard operation
elasticsearch-river-mongodb copied to clipboard

River not deleting documents removed from Mongo

Open digitaldavenyc opened this issue 10 years ago • 2 comments

The river plugin is not deleting the documents that have been removed from mongo, it tracks all updates to existing documents but deleted documents seem to be sticking around when they shouldn't. Any insight into why this is?

digitaldavenyc avatar Apr 09 '15 20:04 digitaldavenyc

Are u sure that River is in correct state? (check it in logs)

dimon222 avatar Apr 13 '15 13:04 dimon222

There is some kind of script? I have the same problem because of following code I use for filtering creation of documents

"script": "if (!ctx.document.loadingStatus || ctx.document.loadingStatus != "completed") { ctx.ignore = true; }"

pierpaolocira avatar Apr 22 '15 09:04 pierpaolocira