Getting started with Apache Solr Search Server
3.6 (55 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
452 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Getting started with Apache Solr Search Server to your Wishlist.

Add to Wishlist

Getting started with Apache Solr Search Server

Integrate Solr as a blazing-fast open-source search solution into your enterprise web application
3.6 (55 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
452 students enrolled
Created by Packt Publishing
Last updated 10/2015
Current price: $10 Original price: $85 Discount: 88% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 3 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Configure your Solr instance for your business needs
  • Index data from either a database import or XML file
  • Query data using both Lucene query syntax as well as the Dismax family of parsers
  • Integrate Solr into a system using an easy-to-follow, easy-to-implement web application in Django
  • Use spell suggest to make your search robust
  • Use the MoreLikeThis request handler to deliver similar documents to an interested user
  • Formulate schema by considering each aspect of the data already in a database, and then craft a field for it
View Curriculum
  • The course comes along with a tutorial for integrating Solr search into a new system with an open-source web app that can be downloaded from GitHub and run on your own machine. It will show you how to implement a Solr-based search engine effectively on your intranet or web site. This course is suitable for Developers looking to enhance thier applications with Apache Solr.

Getting started with Apache Solr Search Server shows you how to implement the world’s leading open-source search solution with advice from an expert in the field. You will discover Solr’s many hidden features via interactive learning and configure your own Solr instance according to your business needs. This course can be followed along at home with an open-source web application you can download and run. Make search interactive and proactive with faceting, match highlighting, spell-checking, and result grouping.

Getting started with Apache Solr Search Server uses a combination of walk throughs and interactive exercises to impart end-to-end understanding of Solr’s role in a web application’s ecosystem.

You will first learn how to install Solr on your machine, configure it according to the data structures you need to search over, and integrate it into your application. This video course shows the viewer how to use, activate, and configure Solr’s many features. To keep the course interactive, an open-source example is included with detail on how to integrate Solr into an application, ranging from simple querying to advanced grouping and faceting.

Enterprise Search for Apache Solr empowers you to become your organization’s search guru with expertise in search.

About the Author

Robert Elwell is a search expert living in the San Francisco Bay Area, where he currently works for Wikia. He has an M.A. in Linguistics from the University of Texas at Austin, where he studied machine learning, information retrieval, and discourse parsing. Robert’s enthusiasm for a variety of topics in web application development and computational linguistics are documented at his personal website

Who is the target audience?
  • This course is intended for a mid- to senior-level engineer or a technology decision-maker evaluating the strengths of Apache Solr for implementation in their own ecosystem. The course expects some experience working with web APIs, and a degree of end-to-end LAMP stack experience.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
32 Lectures
Getting Started with Solr
4 Lectures 17:07

This video introduces you to what this course is all about and who it is for.

Goals of the Course

Understand the basic mechanics behind Solr.

Solr and How It Works

There are simpler cases where Solr may not be necessary. We evaluate situations that would merit Solr's robustness

Solr's Relative Strengths

Getting Solr downloaded and running can be tricky. You'll learn where to get it and how to start it.

Installing Solr
Administration and Configuration
5 Lectures 27:23

The Admin interface can be complicated. Get to know where to go to make changes as users.

Preview 03:46

You need to know how to work with the schema file to set up your search solution. See where the schema file is located and learn how to alter it.

Learning about the Schema File

It's useful to be able to review your changes on a given Solr host. The config file link makes that easy.

The Config File

Sometimes we need some graphical information about what's in our index. The schema browser shows this to us.

Navigating the Schema Browser

It's useful to know certain aspects of your index or Solr instance without querying the index or reading XML.

Solr Statistics and Information
Manipulating the Index
3 Lectures 11:51

We need to get data into our index. Solr allows updating through HTTP end points.

Preview 03:26

Some documents need to be updated or removed. Solr handles updation using unique IDs, and removal by using a query.

Deleting and Updating Data

There's a high cost for constructing XML-based queries in Solr for updates. The Data Import Handler allows us to put data into the search engine with less development effort.

Configuring the Data Import Handler
Querying the Index – the Basics
4 Lectures 19:18

Querying the index requires knowledge of Lucene's query syntax. We provide an outline of its core behaviors.

Preview 06:55

In order to use the response data, we need to know where to look for it. The response is neatly divided into informative groups.

The Anatomy of a Response

We need additional control over our results rather than just querying for the entire result set. Additional query parameters allow for these options.

Preview 05:07

User queries can be difficult to parse into Lucene's query syntax. The Dismax query parser provides a robust solution for user-provided queries.

The Dismax Query Parser
Understanding the Document Schema
4 Lectures 26:13

Properly defining a schema requires understanding what field types are already available. We review the off-the-shelf field types available for creating new schema fields.

Preview 06:18

It's difficult to identify what kind of analyzers and filters should be used when creating a new field type. We explain how they work and where to implement them.

Analyzers and Filters

For an effective search, we must define an appropriate document schema. We describe the example schema to give a stronger understanding of how to properly define a document for your needs.

Understanding a Document Schema

Some use cases (particularly i18n) require creating new field types and schema fields. We show how to do this in the schema file.

Altering the Schema
Configuring Solr
4 Lectures 25:16

Getting your search solution right sometimes requires configuring certain components of your Solr install. We show you where to go and what options are available.

Preview 09:02

Knowing how to access certain capabilities of Solr requires understanding what a request handler is and how it works. We outline them here.

Understanding Request Handlers

Many request handlers are introduced by default in the config.xml file. We examine them and explain what they do.

Default Request Handlers

Solr has a number of request handlers available but not defined in config.xml. Learn how to access them.

Adding a Handler
Solr in Practice – a Use Case
4 Lectures 22:26

We want to create a site that allows us to search and compare beers. We will use Django and Solr to build a web app.

Preview 07:46

We need to not only be able to search and compare beer, but also group by breweries. We create a schema that is sensitive to these business requirements.

Solr in Practice – Determining a Schema from Business Requirements

Some data can be grouped by certain facets. We show an implementation of faceting for an example use case.

Solr in Practice – Faceting

Our business requirements indicate a need to recommend similar beers. We use the MoreLikeThis component to accomplish this easily.

Solr in Practice – MoreLikeThis
Advanced Concepts
4 Lectures 22:58

One way of delivering results is to group by unique terms in a given field. We show how this is accomplished using facet grouping.

Preview 06:56

Highlighting relevant text from a search can be difficult. We show how Solr makes it easy using the built-in highlighting parameters.

Advanced Solr – Text Highlighting

Search queries can include typos. Solr Spelling Suggest allows for robust handling of this.

Advanced Solr – Spelling Suggest

Sometimes we want to recover what terms make a document interesting. The MoreLikeThis handler accomplishes this.

Advanced Solr – MoreLikeThis Tips and Tricks
About the Instructor
Packt Publishing
3.9 Average rating
8,109 Reviews
58,435 Students
686 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.