def create file
    solr.add om_document(File.new(file)).to_solr
    add_components(file) unless options[:simple]
    solr.commit
  end
def create file
    solr.add om_document(File.new(file)).to_solr
    add_components(file) unless options[:simple]
    solr.commit
  end
Creates a new instance of SolrEad::Indexer and connects to your solr server
 Indexes ead xml and commits the results to your solr server.