Hacked Apache Solr to allow for entity reference

This page is part of ApacheSolr
(I:\html\sites\all\modules\contrib\apachesolr) it is a change to a
contributed module.