Minor changes for multicore, delete sample added

Minor changes to the Init calls to work for multicore solr setups.  Also, added a example for deleting (although it isn't a very nontrivial example)