move the code query in the must clause; set min score_percent