Adding code for indexing locations in solr