[Compass-ci] [PATCH v2 compass-ci] lib/es_query.rb: add traverse es data of function