add setWeight to ImageSearcher interface