let the filteredquery to decide if match_all