Amazon cover image
Image from Amazon.com

Lucene 4 cookbook : over 70 hands-on recipes to quickly and effectively integrate Lucene into your search application / Edwood Ng, Vineeth Mohan.

By: Contributor(s): Material type: TextTextSeries: Quick answers to common problemsPublisher: Birmingham, UK : Packt Publishing, 2015Description: 1 online resource (1 volume) : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781782162292
  • 1782162291
Other title:
  • Lucene four cookbook
  • Over 70 hands-on recipes to quickly and effectively integrate Lucene into your search application
Subject(s): Additional physical formats: Print version:: Lucene 4 cookbook : over 70 hands-on recipes to quickly and effectively integrate Lucene into your search application.DDC classification:
  • 005.7565
LOC classification:
  • TK5105.8885.L84
Online resources:
Contents:
Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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; Chapter 2: Analyzing Your Text; Introduction; Obtaining a common analyzer; Obtaining a TokenStream; Obtaining TokenAttribute values
Using PositionIncrementAttributeUsing PerFieldAnalyzerWrapper; Defining custom TokenFilters; Defining custom analyzers; Defining custom tokenizers; Defining custom attributes; Chapter 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; Chapter 4: Searching Your Indexes; Introduction; Obtaining IndexReaders
Un-inverting single-valued fields in memory with FieldCacheTermVectors; IndexSearcher; Constructing queries; Specifying sort logic; Forming a search result; Pagination; Using Collectors; Sorting with custom FieldComparator; Chapter 5: Near Real-time Searching; Introduction; Using the DirectoryReader to open index in Near Real-Time; Using the SearcherManager to refresh IndexSearcher; Generational indexing with TrackingIndexWriter; Maintaining search sessions with SearcherLifetimeManager; Performance tuning: latency and throughput; Chapter 6: Querying and Filtering Data; Introduction
Performing advanced filteringCreating a custom filter; Searching with QueryParser; TermQuery and TermRangeQuery; BooleanQuery; PrefixQuery and WildcardQuery; PhraseQuery and MultiPhraseQuery; FuzzyQuery; NumericRangeQuery; DisjunctionMaxQuery; RegexpQuery; SpanQuery; CustomScoreQuery; Chapter 7: Flexible Scoring; Introduction; Overriding similarity; Implementing the BM25 model; Implementing the language model; Implementing the divergence from randomness model; Implementing the information-based model; Chapter 8: Introducing Elasticsearch; Introduction; Getting Elasticsearch
Creating a new indexPredefine field mappings; Adding a document; Deleting a document; Updating a document; Performing bulk indexing; Searching the index; Scaling Elasticsearch; Chapter 9: Extending Lucene with Modules; Introduction; Exploring spatial search; Implementing joins; Performing faceting; Implementing grouping; Employing autosuggest; Implementing highlighting; Index
Summary: This book is for software developers who are new to Lucene and who want to explore the more advanced topics to build a search engine. Knowledge of Java is necessary to follow the code samples. You will learn core concepts, best practices, and also advanced features, in order to build an effective search application.
Holdings
Item type Current library Collection Call number Status Date due Barcode Item holds
eBook eBook e-Library EBSCO Computers Available
Total holds: 0

Online resource; title from cover (Safari, viewed July 16, 2015).

Includes index.

Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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; Chapter 2: Analyzing Your Text; Introduction; Obtaining a common analyzer; Obtaining a TokenStream; Obtaining TokenAttribute values

Using PositionIncrementAttributeUsing PerFieldAnalyzerWrapper; Defining custom TokenFilters; Defining custom analyzers; Defining custom tokenizers; Defining custom attributes; Chapter 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; Chapter 4: Searching Your Indexes; Introduction; Obtaining IndexReaders

Un-inverting single-valued fields in memory with FieldCacheTermVectors; IndexSearcher; Constructing queries; Specifying sort logic; Forming a search result; Pagination; Using Collectors; Sorting with custom FieldComparator; Chapter 5: Near Real-time Searching; Introduction; Using the DirectoryReader to open index in Near Real-Time; Using the SearcherManager to refresh IndexSearcher; Generational indexing with TrackingIndexWriter; Maintaining search sessions with SearcherLifetimeManager; Performance tuning: latency and throughput; Chapter 6: Querying and Filtering Data; Introduction

Performing advanced filteringCreating a custom filter; Searching with QueryParser; TermQuery and TermRangeQuery; BooleanQuery; PrefixQuery and WildcardQuery; PhraseQuery and MultiPhraseQuery; FuzzyQuery; NumericRangeQuery; DisjunctionMaxQuery; RegexpQuery; SpanQuery; CustomScoreQuery; Chapter 7: Flexible Scoring; Introduction; Overriding similarity; Implementing the BM25 model; Implementing the language model; Implementing the divergence from randomness model; Implementing the information-based model; Chapter 8: Introducing Elasticsearch; Introduction; Getting Elasticsearch

Creating a new indexPredefine field mappings; Adding a document; Deleting a document; Updating a document; Performing bulk indexing; Searching the index; Scaling Elasticsearch; Chapter 9: Extending Lucene with Modules; Introduction; Exploring spatial search; Implementing joins; Performing faceting; Implementing grouping; Employing autosuggest; Implementing highlighting; Index

This book is for software developers who are new to Lucene and who want to explore the more advanced topics to build a search engine. Knowledge of Java is necessary to follow the code samples. You will learn core concepts, best practices, and also advanced features, in order to build an effective search application.

English.

Added to collection customer.56279.3

Powered by Koha