This is quite specific to search, so it's fine that it's here, but it should be kept in `SearchView` IMO. There is no need to have it outside.