A practical introduction to Apache Solr for developing powerful and scalable search solutions. Participants learn how to install and configure Solr, index data, create search queries, and systematically improve the quality and relevance of search results.
You will become familiar with the core components and capabilities of Apache Solr and apply them in practical exercises. You will develop search solutions, design appropriate schemas, and implement features such as faceted navigation, autocomplete, spell checking, and language-specific search.
By the end of the course, you will be able to design, implement, and optimise professional search solutions based on Solr.
• Install, configure, and administer Solr
• Index, update, and remove data from the index
• Create search queries using different query types and parameters
• Design schemas, field types, and analysis chains for different data types
• Optimise the relevance, sorting, and presentation of search results
• Implement facets, search navigation, autocomplete, and spell checking
• Integrate Solr into Java applications using SolrJ
• Scale Solr using replication and distributed search
• Experience in developing web applications
• Basic knowledge of Java, PHP, Ruby, or a comparable programming language
• A basic understanding of HTTP, URLs, and structured data formats such as JSON or XML
• Knowledge of databases and search technologies is helpful but not required
Target Audience:
This course is aimed at developers, software architects, and technical professionals who want to develop, integrate, or operate search functionality using Apache Solr.
*We customize the course outline and content to your specific needs and relevant use cases.
Module 1: Introduction and Installation
• Typical use cases and the basic architecture of Apache Solr
• How Solr, Apache Lucene, and web applications work together
• Installing and starting a Solr instance
• Understanding collections, cores, shards, and replicas
• Overview of the Solr administration interface
• Important configuration files and directory structures
Module 2: Data Modelling and Indexing
• Documents, fields, field types, and unique keys
• Fundamentals of maintainable schema design
• Schema configuration and use of the Schema Browser
• Dynamic fields and important schema directives
• Indexing data through the administration interface and APIs
• Updating and removing documents from the index
• Using update processors to prepare and transform data
Module 3: Search Queries and Request Handlers
• Structure and execution of basic search queries
• General Solr parameters and URL parameters
• Standard Query Parser, DisMax, and eDisMax
• Configuring and using request handlers
• Phrase queries, range queries, and function queries
• Fuzzy search and phonetic “sounds like” searches
• Filtering, sorting, and paginating search results
Module 4: Relevance and Result Presentation
• Fundamentals of relevance scoring
• How fields, terms, and document properties influence scoring
• Boosting fields, terms, and queries
• Improving relevance with DisMax and eDisMax
• Analysing and explaining search results
• Highlighting hits and search terms
• Finding similar documents with MoreLikeThis
• Strategies for testing and improving search quality
Module 5: Faceting and Search Navigation
• Fundamentals and use cases of faceting
• Field facets and query facets
• Range faceting and date faceting
• Hierarchical facets and multi-level navigation
• Result grouping and combining similar hits
• Building user-friendly search-based navigation
• Managed queries and centrally maintained search rules
Module 6: Text Analysis and Language-Specific Search
• Analysis chains for indexing and searching
• Tokenisers, TokenFilters, and CharFilters
• Normalisation, stemming, and stop-word handling
• Processing content in different languages
• Language-specific field types and analysis methods
• Language-specific sorting and collation
• Handling umlauts, special characters, and spelling variants
Module 7: User-Focused Search Features
• Spell checking with Solr
• Autocomplete and auto-suggest
• Generating suggestions from indexed data
• Configuring and updating suggesters
• Combining autocomplete, facets, and search filters
• Handling empty or low-quality result sets
Module 8: Integration, Data Import, and Scaling
• Integrating Solr into Java applications with SolrJ
• Queries, updates, and error handling through the Java client
• Importing data from external sources
• Data Import Handler and alternative import approaches depending on the Solr version
• Scaling Solr through replication
• Fundamentals of SolrCloud and distributed search
• Distributed queries across multiple shards
• Basic operational, monitoring, and troubleshooting practices
Hands-on learning with expert instructors at your location for organizations.
Master new skills guided by experienced instructors from anywhere.