Implement boolean search in apache solr search
Here is a basic example of adding an extra parameter to the search query using the hook_apachesolr_query_alter()

/**
 * Implements hook_altersolr_apachesolr_query_alter().
 */
function mymodule_altersolr_apachesolr_query_alter($query) {
  $query-&gt;addParam('fq', 'my_field:(value)');
}


Check this page for more possibilities on altering the search query: http://drupalcontrib.org/api/drupal/contributions%21apachesolr%21apachesolr.interface.inc/interface/DrupalSolrQueryInterface/7