searcharound_HEALPix gathers all the healpix ids needed to cover the search radius and only then queries the db. This leads to slow queries if the number of helpixels is too large.
To fix this: issue the query while paving the search cone and merge the results.
searcharound_HEALPix gathers all the healpix ids needed to cover the search radius and only then queries the db. This leads to slow queries if the number of helpixels is too large.
To fix this: issue the query while paving the search cone and merge the results.