implemented common_terms query support