stable revision of search based on elasticsearch