Change from mongoDB to only elasticsearch