you need to use JAMA combined with Lucene, using the vectors that are builded by lucene to compute SVD with JAMA
http://math.nist.gov/javanumerics/jama/ Best jose José Ramón Pérez Agüera Dept. de Ingeniería del Software e Inteligencia Artificial Despacho 411 tlf. 913947599 Facultad de Informática Universidad Complutense de Madrid