modified search field for elasticsearch