searchを汎化