ensure indexes on hashes in url collection