Solr installation

612 views

Published on

Relationships among Lucene, Solr, and Nutch
Lucene vs Solr
Install Solr
Solr Demo

Published in: Engineering, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
612
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Solr installation

  1. 1. Introduction of Lucene, Solr、 Nutch Zhao totoyou@gmail.com
  2. 2. Contents • Relationships among Lucene, Solr, and Nutch • Lucene vs Solr • Install Solr • Demo
  3. 3. Achitecture Browser HTTP Search WEB UI Solr Search Service Nutch Web Crawler Wiki Web … Lucene Indexes Raw Data Lucene: Java Library for indexing and searching, powerful and fast, etc. Solr: http-based index and search server, Web-based administration panel, etc. Nutch: Internet search engine software, Web Crawler, powerful for vertical search engine, etc.
  4. 4. Lucene vs Solr http://www.slideshare.net/totoyou/savedfiles?s_title=4th-lucenesolrmeetup-bangalorenew&user_login=shalinmangar
  5. 5. Solr4.8 installation • https://cwiki.apache.org/confluence/display/solr/Installing+Solr 1. Install Java +1.7 2. Install Java servlet container: – Tomcat6, Jetty, JBoss, etc. 3. Download Solr package – http://lucene.apache.org/solr/ 4. Copy solr.war to webapps directory of your servlet container 5. Copy solr-4.x.0/example/solr/* to your desired Solr Home location 6. Start your servlet container
  6. 6. Example Start Solr Add data to indexes
  7. 7. Start • java -jar start.jar
  8. 8. Data Index(Demo) 1. Change the solr/conf/schema.xml 2. add data to index ./post.sh student.xml
  9. 9. Demo for searching

×