mark duplicates in search