fix search with elastic and ransac