python code demonstrating solr and lxml