Book description
Over 70 hands-on recipes to quickly and effectively integrate Lucene into your search application
Make the most of Lucene by understanding its philosophy and leveraging the data searching capability of your application
Explore techniques to design scalable and succinct search applications
Packed with clear, step-by-step recipes to walk you through the capabilities of Lucene
In Detail
Lucene 4 Cookbook is a practical guide that shows you how to build a scalable search engine for your application, from an internal documentation search to a wide-scale web implementation with millions of records. Starting with helping you to successfully install Apache Lucene, it will guide you through creating your first search application. Furthermore, the book walks you through analyzing your text and indexing your data to leverage the performance of your search application. As you progress through the chapters, you will learn to effectively search your indexes and successfully employ real-time searching.
The chapters start off with simple concepts and build up to complex solutions that should help you on your way to becoming a search engine expert.
What You Will Learn
Explore the best practices to make the most of your search application
Create and write documents in an index
Customize scoring and boosting in your application to influence search results
Expand Lucene's functionality, such as spatial searching and faceting with add-on modules
Load and initialize the library and build a search index of data
Understand trading between NRT latency and throughput
Optimize your search applications by employing features such as near real-time (NRT) search
Table of contents
-
Lucene 4 Cookbook
- Table of Contents
- Lucene 4 Cookbook
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Introducing Lucene
- Introduction
- Installing Lucene
- Setting up a simple Java Lucene project
- Obtaining an IndexWriter
- Creating an analyzer
- Creating fields
- Creating and writing documents to an index
- Deleting documents
- Obtaining an IndexSearcher
- Creating queries with the Lucene QueryParser
- Performing a search
- Enumerating results
- 2. Analyzing Your Text
-
3. Indexing Your Data
- Introduction
- Obtaining an IndexWriter
- Creating a StringField
- Creating a TextField
- Creating a numeric field
- Creating a DocValue Field
- Transactional commits and index versioning
- Reusing field and document objects per thread
- Delving into field norms
- Changing similarity implementation used during indexing
- 4. Searching Your Indexes
- 5. Near Real-time Searching
- 6. Querying and Filtering Data
- 7. Flexible Scoring
- 8. Introducing Elasticsearch
- 9. Extending Lucene with Modules
- Index
Product information
- Title: Lucene 4 Cookbook
- Author(s):
- Release date: June 2015
- Publisher(s): Packt Publishing
- ISBN: 9781782162285
You might also like
book
Apache Solr Search Patterns
Leverage the power of Apache Solr to power up your business by navigating your users to …
book
Elasticsearch 7 Quick Start Guide
Get the most out of Elasticsearch 7's new features to build, deploy, and manage efficient applications …
book
Learning Elasticsearch
Store, search, and analyze your data with ease using Elasticsearch 5.x About This Book Get to …
book
Elasticsearch in Action
Elasticsearch in Action teaches you how to build scalable search applications using Elasticsearch. You'll ramp up …