예제 #1
0
def clear_solr():
    print 'Clearing the solr core and indexes'
    from aggregator.solr import SolrHypermap
    solrobject = SolrHypermap()
    solrobject.clear_solr()