config file and sph neibor query.