Adding elasticsearch to democratic instruments