Simplify elasticsearch