万本电子书0元读

万本电子书0元读

顶部广告

Apache Solr for Indexing Data电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Sachin Handiekar

出  版  社:Packt Publishing

出版时间:2015-12-28

字       数:40.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Enhance your Solr indexing experience with advanced techniques and the built-in functionalities available in Apache Solr About This Book Learn about distributed indexing and real-time optimization to change index data on fly Index data from various sources and web crawlers using built-in analyzers and tokenizers This step-by-step guide is packed with real-life examples on indexing data Who This Book Is For This book is for developers who want to increase their experience of indexing in Solr by learning about the various index handlers, analyzers, and methods available in Solr. Beginner level Solr development skills are expected. 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 In Detail 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. Style and approach This fast-paced guide is packed with examples that are written in an easy-to-follow style, and are accompanied by detailed explanation. Working examples are included to help you get better results for your applications.
目录展开

Apache Solr for Indexing Data

Table of Contents

Apache Solr for Indexing Data

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started

Overview and installation of Solr

Installing Solr in OS X (Mac)

Running Solr

Installing Solr in Windows

Installing Solr on Linux

The Solr architecture and directory structure

Solr directory structure

Cores in Solr (Multicore Solr)

Summary

2. Understanding Analyzers, Tokenizers, and Filters

Introducing analyzers

Analysis phases

Tokenizers

Standard tokenizer

Keyword tokenizer

Lowercase tokenizer

N-gram tokenizer

Filters

Lowercase filter

Synonym filter

Porter stem filter

Running your analyzer

Summary

3. Indexing Data

Indexing data in Solr

Introducing field types

Defining fields

Defining an unique key

Copy fields and dynamic fields

Building our musicCatalogue example

Using the Solr Admin UI

Facet searching

Summary

4. Indexing Data – The Basic Technique and Using Index Handlers

Inserting data into Solr

Configuring UpdateRequestHandler

Indexing documents using XML

Adding and updating documents

Deleting a document

Indexing documents using JSON

Adding a single document

Adding multiple JSON documents

Sequential JSON update commands

Indexing updates using CSV

Summary

5. Indexing Data with the Help of Structured Datasources – Using DIH

Indexing data from MySQL

Configuring datasource

DIH commands

Indexing data using XPath

Summary

6. Indexing Data Using Apache Tika

Introducing Apache Tika

Configuring Apache Tika in Solr

Indexing PDF and Word documents

Summary

7. Apache Nutch

Introducing Apache Nutch

Installing Apache Nutch

Configuring Solr with Nutch

Summary

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

9. Advanced Topics – Multilanguage, Deduplication, and Others

Multilanguage indexing

Removing duplicate documents (deduplication)

Content streaming

UIMA integration with Solr

Summary

10. Distributed Indexing

Setting up SolrCloud

The collections API

Updating configuration files

Distributed indexing and searching

Summary

11. Case Study of Using Solr in E-Commerce

Creating an AutoSuggest feature

Facet navigation

Search filtering and sorting

Relevancy boosting

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部