[Compass-ci] [PATCH compass-ci] lib: optimize es query_by_id to adapt to change the es mapping