1.9 KiB
Solr DataImportHandler example configuration
To run this multi-core example, use the "-e" option of the bin/solr script:
> bin/solr -e dih
When Solr is started connect to:
-
To import data from the hsqldb database, connect to:
http://localhost:8983/solr/db/dataimport?command=full-import
-
To import data from an ATOM feed, connect to:
http://localhost:8983/solr/atom/dataimport?command=full-import
-
To import data from your IMAP server:
- Edit the example-DIH/solr/mail/conf/mail-data-config.xml and add details about username, password, IMAP server
- Connect to http://localhost:8983/solr/mail/dataimport?command=full-import
-
To copy data from db Solr core, connect to:
http://localhost:8983/solr/solr/dataimport?command=full-import
-
To index a full text document using Tika integration:
http://localhost:8983/solr/tika/dataimport?command=full-import
Check also the Solr Reference Guide for detailed usage guide: https://lucene.apache.org/solr/guide/uploading-structured-data-store-data-with-the-data-import-handler.html