I need to 'listen' for changes on my index, at first I started by writing a script in nodejs which is executed every 5min. For now I think it works... But can I do it in realtime? When a new document is insert or update.
I have read about
watchers, but it's same than my actual script. Any advice or alternative to do it?