Building distributed search applications using Apache SOLR
The objective of this workshop is to introduce attendees with most common features of a search application and how to implement them using Apache Solr. The workshop will also cover how to scale the application by leveraging SolrCloud.
We will see the performance factors which should be kept in mind while desinging your application using Solr and if time permits, without going into ElasticSearch details, I will share the differences between Solr and ElasticSearch.
For the workshop, we will index and search data from ‘StackExchange’ sites using dumps available here and build backend for following demo application: saumitra.me/solrdemo/. (Tested only on Chrome and Firefox).
- What is Solr? Use cases and architecture
- Solr schema, config, tokenizers and filters
- Indexing data:
- From disk using SolrJ
- Importing from database(MySQL) with DataImport Handler
- Querying Solr (Filters, Faceting, highlighting, sorting, grouping, boosting, range, function and fuzzy queries)
- Adding ‘Auto Suggest’ component to auto complete user queries
- Using ‘Clustering’ component to cluster similar results.
- Setting up a multinode cluster with Zookeeper
- Creating a distributed index
- Collections API
- Solr Admin UI
Workshop will be delivered using a virtual image. You need to have VirtualBox installed to import the image. Download OS specific version of VirtualBox from https://www.virtualbox.org/wiki/Downloads.
Try to bring laptop with at least 4 GB RAM. Operating system MUST be 64 bit. Participant should have basic Java knowledge.
- Engineer at Glassbeam working on machine data search and analytics
- Organizer of Bangalore-Baby-Apache-Solr meetup group, where we organize sessions to help people get started with Solr
- Suggested Readings:
- Solr in 5 minutes - http://www.solrtutorial.com/solr-in-5-minutes.html
- Solr Features - https://lucene.apache.org/solr/features.html
- Apache Solr Reference Guide - https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide
- Quick Solr Tutorial - https://lucene.apache.org/solr/4_8_1/tutorial.html
- Solr in 5 minutes - https://www.youtube.com/watch?v=ClhrrPzJWmI
- Scaling Solr with SolrCloud - https://www.youtube.com/watch?v=4VaRSDBhQ9s
- SolrCloud Architecture - https://www.youtube.com/watch?v=K6EC8iFDEuA
- Using Solr for Analytics - https://www.youtube.com/watch?v=_zITXp0xo5I
- Building a Real-time, Big Data Analytics Platform with Solr https://www.youtube.com/watch?v=PkoyCxBXAiA