NXP-15361: allow ES search through query endpoint