Companies need to use full-text search, so use SOLR, is also a newcomer, I see the premise is SOLR has been installed successfully deployed, I use the server is the jetty
1. Create Collection
[Email protected] bin]#/SOLR create-c Wuye
2.2 directories will be generated
/usr/local/solr/solr-5.5.3/server/solr/wuye/conf Configuration file Directory
/usr/local/solr/solr-5.5.3/server/solr/wuye/data index and other storage directory
3, the Conf directory to have these several files
of which: 1, Managed-schema renamed to Schema.xml configuration content, etc. will be affixed with a compressed package
Manage-schma is also generated later, and Schema.xml.bak is the name that SOLR becomes when it runs. Bak is in use, similar to Word and Excel, you have to change things, change the. bak file is useless
2, 3 HTML files must have, in the example folder, you go to find, or import he does not return and log logs will be error
4. Import
Complete!
The road of Solr5.5.3 Research---1. Import data from MySQL and create an index