README.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. Solr DataImportHandler example configuration
  16. --------------------------------------------
  17. To run this multi-core example, use the "-e" option of the bin/solr script:
  18. > bin/solr -e dih
  19. When Solr is started connect to:
  20. http://localhost:8983/solr/
  21. * To import data from the hsqldb database, connect to:
  22. http://localhost:8983/solr/db/dataimport?command=full-import
  23. * To import data from an ATOM feed, connect to:
  24. http://localhost:8983/solr/atom/dataimport?command=full-import
  25. * To import data from your IMAP server:
  26. 1. Edit the example-DIH/solr/mail/conf/mail-data-config.xml and add details about username, password, IMAP server
  27. 2. Connect to http://localhost:8983/solr/mail/dataimport?command=full-import
  28. * To copy data from db Solr core, connect to:
  29. http://localhost:8983/solr/solr/dataimport?command=full-import
  30. * To index a full text document using Tika integration:
  31. http://localhost:8983/solr/tika/dataimport?command=full-import
  32. Check also the Solr Reference Guide for detailed usage guide:
  33. https://lucene.apache.org/solr/guide/uploading-structured-data-store-data-with-the-data-import-handler.html