removed unnecessary code
use queryString function in elasitcsearch to build up queries