Improving automatic query expansion by using heterogeneous thesauri