modify elasticsearch usage