Apache Solr for Indexing Data

Enhance your Solr indexing experience with advanced techniques and the built-in functionalities available in Apache Solr

Apache Solr for Indexing Data

This ebook is included in a Mapt subscription
Sachin Handiekar, Anshul Johri

1 customer reviews
Enhance your Solr indexing experience with advanced techniques and the built-in functionalities available in Apache Solr
$10.00
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook
Preview in Mapt

Book Details

ISBN 139781783553235
Paperback160 pages

Book Description

Apache Solr is a widely used, open source enterprise search server that delivers powerful indexing and searching features. These features help fetch relevant information from various sources and documentation. Solr also combines with other open source tools such as Apache Tika and Apache Nutch to provide more powerful features.

This fast-paced guide starts by helping you set up Solr and get acquainted with its basic building blocks, to give you a better understanding of Solr indexing. You’ll quickly move on to indexing text and boosting the indexing time. Next, you’ll focus on basic indexing techniques, various index handlers designed to modify documents, and indexing a structured data source through Data Import Handler.

Moving on, you will learn techniques to perform real-time indexing and atomic updates, as well as more advanced indexing techniques such as de-duplication. Later on, we’ll help you set up a cluster of Solr servers that combine fault tolerance and high availability. You will also gain insights into working scenarios of different aspects of Solr and how to use Solr with e-commerce data.

By the end of the book, you will be competent and confident working with indexing and will have a good knowledge base to efficiently program elements.

Table of Contents

Chapter 1: Getting Started
Overview and installation of Solr
Running Solr
The Solr architecture and directory structure
Cores in Solr (Multicore Solr)
Summary
Chapter 2: Understanding Analyzers, Tokenizers, and Filters
Introducing analyzers
Tokenizers
Filters
Running your analyzer
Summary
Chapter 3: Indexing Data
Indexing data in Solr
Building our musicCatalogue example
Facet searching
Summary
Chapter 4: Indexing Data – The Basic Technique and Using Index Handlers
Inserting data into Solr
Indexing documents using XML
Indexing documents using JSON
Indexing updates using CSV
Summary
Chapter 5: Indexing Data with the Help of Structured Datasources – Using DIH
Indexing data from MySQL
Indexing data using XPath
Summary
Chapter 6: Indexing Data Using Apache Tika
Introducing Apache Tika
Configuring Apache Tika in Solr
Indexing PDF and Word documents
Summary
Chapter 7: Apache Nutch
Introducing Apache Nutch
Installing Apache Nutch
Configuring Solr with Nutch
Summary
Chapter 8: Commits, Real-Time Index Optimizations, and Atomic Updates
Understanding soft commit, optimize, and hard commit
Using atomic updates in Solr
Using RealTime Get
Summary
Chapter 9: Advanced Topics – Multilanguage, Deduplication, and Others
Multilanguage indexing
Removing duplicate documents (deduplication)
Content streaming
UIMA integration with Solr
Summary
Chapter 10: Distributed Indexing
Setting up SolrCloud
Distributed indexing and searching
Summary
Chapter 11: Case Study of Using Solr in E-Commerce
Creating an AutoSuggest feature
Facet navigation
Search filtering and sorting
Relevancy boosting
Summary

What You Will Learn

  • Get to know the basic features of Solr indexing and the analyzers/tokenizers available
  • Index XML/JSON data in Solr using the HTTP Post tool and CURL command
  • Work with Data Import Handler to index data from a database
  • Use Apache Tika with Solr to index word documents, PDFs, and much more
  • Utilize Apache Nutch and Solr integration to index crawled data from web pages
  • Update indexes in real-time data feeds
  • Discover techniques to index multi-language and distributed data in Solr
  • Combine the various indexing techniques into a real-life working example of an online shopping web application

Authors

Table of Contents

Chapter 1: Getting Started
Overview and installation of Solr
Running Solr
The Solr architecture and directory structure
Cores in Solr (Multicore Solr)
Summary
Chapter 2: Understanding Analyzers, Tokenizers, and Filters
Introducing analyzers
Tokenizers
Filters
Running your analyzer
Summary
Chapter 3: Indexing Data
Indexing data in Solr
Building our musicCatalogue example
Facet searching
Summary
Chapter 4: Indexing Data – The Basic Technique and Using Index Handlers
Inserting data into Solr
Indexing documents using XML
Indexing documents using JSON
Indexing updates using CSV
Summary
Chapter 5: Indexing Data with the Help of Structured Datasources – Using DIH
Indexing data from MySQL
Indexing data using XPath
Summary
Chapter 6: Indexing Data Using Apache Tika
Introducing Apache Tika
Configuring Apache Tika in Solr
Indexing PDF and Word documents
Summary
Chapter 7: Apache Nutch
Introducing Apache Nutch
Installing Apache Nutch
Configuring Solr with Nutch
Summary
Chapter 8: Commits, Real-Time Index Optimizations, and Atomic Updates
Understanding soft commit, optimize, and hard commit
Using atomic updates in Solr
Using RealTime Get
Summary
Chapter 9: Advanced Topics – Multilanguage, Deduplication, and Others
Multilanguage indexing
Removing duplicate documents (deduplication)
Content streaming
UIMA integration with Solr
Summary
Chapter 10: Distributed Indexing
Setting up SolrCloud
Distributed indexing and searching
Summary
Chapter 11: Case Study of Using Solr in E-Commerce
Creating an AutoSuggest feature
Facet navigation
Search filtering and sorting
Relevancy boosting
Summary

Book Details

ISBN 139781783553235
Paperback160 pages
Read More
From 1 reviews

Read More Reviews