[Add] Distance as a parameter in search