Do stuff with mongoose and elastic