Look at hook_search_preprocess

in

Rather than hook_form_alter, you should look at hook_search_preprocess.