Book Image

Lucene 4 Cookbook

By : Edwood Ng, Vineeth Mohan
Book Image

Lucene 4 Cookbook

By: Edwood Ng, Vineeth Mohan

Overview of this book

Table of Contents (16 chapters)
Lucene 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Near Real-time Searching

These are the recipes we are going to cover in this chapter:

  • 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