Updated weighted search to be usable.