How to change operator in schema.xml and configure site for AND search
You need not to edit the Solr_Base_Query.php file just add the following line of the code in your module

function modulename_apachesolr_query_prepare($query){
$query -&gt; addParam('q.op', 'OR');


}