You can find all info with examples here: http://drupal.org/node/715276
<?php
function MYMODULE_apachesolr_query_prepare(DrupalSolrQueryInterface &$query, &$caller) {
$query->addParam('fl', 'some_field_image');
$query->addParam('fl', 'some_field_date');
//Remove sorts
$query->remove_available_sort('sort_label');
$query->remove_available_sort('bundle');
$query->remove_available_sort('sort_name');
//Rename sorts
$query->remove_available_sort('score');
$query->set_available_sort('score', array('title' => t('Relevance'), 'default' => 'desc'));
$query->remove_available_sort('ds_created');
$query->set_available_sort('ds_created', array('title' => t('Latest'), 'default' => 'desc'));
}
?>