fix search result distance

Signed-off-by: Lucas L <lucas@nuxbox.me>