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

Update Delay

Open digitaldavenyc opened this issue 10 years ago • 4 comments

How long does it take for the river plugin to update elasticsearch with data that has changed on mongo?

digitaldavenyc avatar Apr 09 '15 19:04 digitaldavenyc

Should be instantly I think. Depends on network and load on ES/MongoDB

dimon222 avatar Apr 13 '15 15:04 dimon222

it has a delay when I delete data on mongo, I start the server on local, and I use the fresh method of elasticsearch after I delete data on mongo, it still has a delay, I have to refresh the page to see the change ,,don't know why,

warm200 avatar Apr 17 '15 20:04 warm200

It is not realtime. It has some delay, depends on network and so on. Also bear in mind that ES must index changes.

ewgRa avatar Apr 17 '15 20:04 ewgRa

agree, delay is acceptable, maybe it's not a good idea that after you manipulate the data, you render them back using elasticsearch immediately,you should try to use the database side build-in functions to retrieve data after you do that, which has no delay

warm200 avatar Apr 17 '15 21:04 warm200