Update BaseDocument.class.php

Solr integration for search