Getting started with Apache Solr Search Server

Integrate Solr as a blazing-fast open-source search solution into your enterprise web application
3.4 (13 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.
216 students enrolled
$85
Take This Course
  • Lectures 32
  • Contents Video: 3 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2014 English

Course Description

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

What are the requirements?

  • 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.

What am I going to get from this course?

  • 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

What 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started with Solr
01:54

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

06:19

Understand the basic mechanics behind Solr.

05:43

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

03:11

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

Section 2: Administration and Configuration
03:46

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

12:40

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.

05:00

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

02:50

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

03:07

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

Section 3: Manipulating the Index
03:26

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

03:51

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

04:34

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.

Section 4: Querying the Index – the Basics
06:55

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

02:59

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

05:07

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

04:17

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

Section 5: Understanding the Document Schema
06:18

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.

07:33

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.

08:30

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.

03:52

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

Section 6: Configuring Solr
09:02

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.

04:33

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

08:05

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

03:36

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

Section 7: Solr in Practice – a Use Case
07:46

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.

04:26

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.

04:52

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

05:22

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

Section 8: Advanced Concepts
06:56

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

04:29

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

05:29

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

06:04

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

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course