Add has_one relationship between search and entrance.