How to import data from XML files into your SOLR collection

We've seen here how we may setup our MySQL data importer and import data directly from our MySQL database inside the opensolr generic collections.
In quite the same manner, we're about to see how we can import data from any XML file through the SOLR HttpDataSource.

All we have to do is setup the db-data-config.xml file to accept our XML files. The video below will explain exactly how all this is being accomplished

For more information on HTTPDataSource import, please visit:

https://wiki.apache.org/solr/DataImportHandler#Usage_with_XML.2BAC8-HTTP_Datasource




Review us on Google Business
Close Check out the Fully Automated Solr server setup for Drupal & WordPress.