Document similarity analysis for large document sets