A document similarity database