rerank by matching