howto use elasticsearch and mongodb with river