
Explore how search interfaces deliver relevant results fast with smart suggestions and filters. See how Solr, an open-source distributed data store built on Lucene, powers indexing, searching, and fast retrieval.
Explore how Solr leverages Lucene to index data with inverted indexing, enabling fast multi-word searches and relevancy scoring using TF-IDF, term frequency, and inverse document frequency.
Explore a practical use-case of building a video search on a large site with Solr. Use text analysis, synonyms, and an inverted index to rank relevant results and improve performance.
Explore the five core data characteristics Solr optimizes: text centric, read-dominant, document-oriented with large data volumes, and a flexible schema, plus near real-time search.
Install Solr locally by downloading the binary distribution, unzipping, setting SOLR_HOME, and starting the server to verify via the admin console at http://localhost:8983/solr.
Create a Solr core in the admin console, using the tech products config set with bourbon, and verify the core by executing queries against the newly named product index.
Index documents into a Solr collection by restoring sample data, using a post tool to bulk add documents, then verify by querying the tech products core in the admin console.
Explore Solr's basic searching with the q parameter and the select handler to retrieve and rank documents. Refine results with filter queries, sort by price, paginate, and tailor returned fields.
Learn to send Solr queries over http using a ui, rest clients, or the command line, using q syntax to fetch all documents and rows to control results.
Navigate the Solr administration console to view the dashboard, manage cores, monitor logging, and inspect schema; run indexing commands and explore core statistics for building a search app.
Learn how Apache Solr builds an index from tweet documents using an inverted index, selecting searchable fields like username and content to match user queries.
Explore what a document means in Solr, including fields, hierarchy, and flexible data storage. Learn how documents are indexed and queried to deliver fast search results.
Master the solar indexing workflow: convert documents to a solar-supported format, add them via the document updates service, and configure the schema to apply text analysis for indexing and search.
Explore schemaless mode in Apache Solr, learning how to design your documents, identify a unique id, decide searchable fields, and choose which field to display, with auto-detected versus defined schemas.
Learn to use the schema API to manage Solr schema, define fields like updated_on as date and enable indexing, and understand reload and reindex implications.
Define the first version of the schema by focusing on fields, dynamic fields, and field types. Remove unused fields and include essential elements like the unique key and copy field.
Determine document granularity for your Solr index, from tweets as documents to book chapters as units. Weigh combined versus separate indexes, noting name collisions and scalability as data grows.
Identify how to uniquely identify each document in the Solr index using the id field or a custom key, and note that schema edits require a core reload.
Determine which fields to index by whether users can query them; in the schema, set index property to true by default for useful fields like user name and timestamp.
Define and manage store fields that display results without being indexed; balance storage and performance by storing select fields like user name and likes, while others are indexed for search.
Explore the difference between stored fields and docvalues in Solr, comparing row-oriented storage for fast per-document retrieval with column-oriented docvalues that enable quick attribute loading for sorting and grouping.
Explore how Apache Solr uses multivalue fields to store zero or more links per tweet, declare them in the schema, search across values, and introduce dynamic fields for complex documents.
Explore dynamic fields in Apache Solr, using a prefix or suffix pattern to apply a single definition to many string fields, simplifying the schema when new sources arrive.
Learn how to implement copy fields in Apache Solr to create a catch-all search field from user name, content, and links, with multi-value handling and a configurable max chars limit.
Explore how Apache Solr defines and uses field types, from string and date to numeric and geolocation, to support exact matching, range queries, and efficient indexing.
Explore how the update handler processes update requests, uses the schema and request processors during indexing, supports atomic updates and commits.
Learn how Apache Solr handles updates through atomic updates and in-place updates, updating only changed fields with modifiers like set, inc, add, and remove.
Learn optimistic concurrency control in Solr using the _version_ field to detect conflicting updates, returning 409 errors, with real-time get or version=true requests.
Understand how soft and hard commits affect when documents become searchable in Solr, balancing near real-time access with durability by using a read-only searcher and durable storage.
Explore Apache Solr autocommits with max lock, max time, or max size thresholds, including soft and hard commits, to balance performance and visibility of updates.
Learn how to index nested documents in Solr, modeling posts with comments, using anonymous or labeled child docs, and querying and deleting parent-child relationships efficiently.
Learn why schema changes in Apache Solr require reindexing and how to implement a repeatable indexing strategy to handle upgrades and other configuration changes to the Lucene index.
Determine if documents have a unique id field to enable in-place updates. Create a new collection, load documents, swap active collections via UI or API, then delete the old one.
Learn whether to optimize or force-merge an Apache Solr index, how deletions and updates leave wasted space in segments, and why optimization is expensive and often discouraged.
Explore how Apache Solr handles text analysis to enable natural language queries, covering analyzer, token filters, stop words, lowercasing, removing accents, and stemming for robust indexing.
Explore how Apache Solr text analysis enables natural language search by removing stop words, stemming, handling hyphenation with a word delimiter graph filter, normalizing repeated letters, and preserving hashtags.
Explore how Solr excels at unstructured text analysis through field types, analyzers, and token filters, and learn to design a text general field with indexing and query workflows.
Parse text into a token stream with the standard organizer, addressing whitespace, punctuation, acronyms, contractions, and hyphen splitting, then apply stop filtering and lowercasing for indexing.
Experiment with Solr's analysis form to test text analysis configurations without indexing, and see how tokens, stop words, and case handling affect query matches against a sample document.
Explore how Solr processes searches with the default search handler and multiple components, including highlighting and spell checking, and how query parsers map syntax to query objects.
Learn how Apache Solr uses the fq filter query and the q query parameters to find matching documents and apply relevancy scoring, and how separating filters speeds searches.
Learn the standard query parser in Solr, mastering terms, phrases, boolean operators, and modifiers like wildcards, fuzzy search, range searches, and boosting terms for precise queries.
Explore faceted search in Apache Solr, dynamically clustering results into categories and filters, allowing drill-down with facet constraints to see counts, navigate, and refine without a hierarchy.
Implement facet counts in Solr by using field, query, and range facets to retrieve top terms and counts for subqueries, and render clickable facet links with filtering via filter queries.
Whether you're handling big data, building cloud-based services, or developing e-commerce web applications, it’s vital to have a fast, reliable search solution.
Introduction to Apache Solr 8 is a quick start guide if you are interested in learning how to leverage a search engine that is optimized to search large volumes of text-centric data. This Udemy course will have you successfully using Solr in no time!
Most of the sections use coding activities to help master the material. All code snippets and commands are available on Github, so you can try them for yourself.
Our goal for each example was that it be easy to use but cover the chapter topic thoroughly. In addition, after almost all video lectures you will have the chance to test your knowledge by answering the quizzes on Udemy.
Apache Solr Online Course Curriculum:
Understanding Search Engines
Understanding search engines and the issues they address
How Solr fits in the context of search engines
Get a good sense of what types of data and use cases Solr supports.
Typical scenarios for Solr
You’ll learn about the kinds of problems you can solve with Solr and gain an overview of its key features.
Getting Started with Solr
How to install and run Solr on your local workstation.
Introduction to Solr’s core configuration files.
What is a Solr Core/Collection and how to create it.
Demonstrate how to index and query a set of example documents that ship with Solr.
Introduction to Solr’s query form and learn the basic components of a Solr query.
How to construct queries containing a main query parameter q as well as an optional filter fq.
You saw how to control which fields are returned using the fl parameter and how to control the ordering of results using sort.
A brief tour of Solr’s web-based administration console.
Designing our first Solr Application
Introduce a fictitious web application for finding tweets.
What a document is in Solr and what characteristics it has.
We’ll get an overview of how Solr processes documents, to build the index.
Designing the Schema
Understand what is and when to use the Schemaless mode
How to manage many of the elements of your schema via The Schema API using HTTP.
Learn about key design considerations for search applications.
Discussed considerations about document granularity.
Learn how to determine if a field should be indexed, stored, or both.
Learn how to determine if a field should use docValues.
Use multivalued fields for more complex document structures.
Understand how dynamic fields are useful for supporting documents with many fields and documents coming from diverse sources.
Learn how to use Solr’s copyField directive in order to populate a catch-all text search field.
How to work with structured data using Solr’s support for strings, dates, and numeric field types.
Manipulating the Index
Get an overview of common request types supported by the update handler.
Beyond adding new documents, we’ll learn how to update existing documents using Solr’s atomic update support.
We'll explain how to guard against concurrent updates using optimistic concurrency control with the special _version_ field.
We’ll see that after documents are processed, they need to be committed using either hard commits or soft commits for NRT search.
We also learned how Solr processes query requests using a read-only view of the index with a component called a searcher.
Explore how to model documents containing other documents using nested documents feature.
Understand which types of changes require data reindexing, and how to manage the process of reindexing.
Learn about segment merging and that it’s a good idea to avoid optimizing your index or changing segment-merge settings until you have a better understanding of your indexing throughput requirements.
Text Analysis
Introduction to text analysis and why is an important part of the search process as it removes the linguistic variations between indexed text and queries.
Learn how to define field types to do basic text analysis.
Learn why field types for unstructured text-based fields are normally composed of two separate but compatible analyzers for indexing and query processing.
Understand why each analyzer is made up of a tokenizer and chain of token filters.
Test our simple analysis solution using Solr’s Analysis form and see how documents pass through StandardTokenizer and a chain of simple filters to remove stop words and lowercase terms.
Searching
Uncovering Solr’s capabilities through its numerous and highly configurable request handlers pipeline.
We discussed how Solr handles queries and filters to get a good understanding of how user queries and filters work: what the difference is, how they interact, and how they ultimately affect the performance and quality of your search requests.
Describes the syntax and features supported by the main query parser, The Standard Query Parser, included with Solr and describes some other parsers that may be useful for particular situations.
How to use facets for discovery, analytics, and filtering of search results
Show top values in any field for matching documents via field facets
Use range facets to get bucketed counts for numeric and date ranges