Adding options to Drupal search I've been working on a site and I need to change the search.

I've changed the search form with hook_form_alter(), added some checkboxes, ... Now I need to get the new data to the hook_search_execute() function?

How would I achieve that?
Drupal's search platform is rudimentary one. You can't really extend it, best you can do is to replace it. Most popular free platform now seems to be Apache Solr, connected to Drupal with Apache Solr Search Integration.

If Solr's to much, Search API integrates with views pretty neat, you can have one field for search and other as Views filters.