Weighting of matches