Copyright
Brief Table of Contents
Table of Contents
Praise for the First Edition
More Praise for the First Edition
Foreword
Preface
Preface to the First Edition
Acknowledgments
About this Book
JUnit primer
About the Authors
1. Core Lucene
Chapter 1. Meet Lucene
1.1. Dealing with information explosion
1.2. What is Lucene?
1.2.1. What Lucene can do
1.2.2. History of Lucene
1.3. Lucene and the components of a search application
1.3.1. Components for indexing
1.3.2. Components for searching
1.3.3. The rest of the search application
1.3.4. Where Lucene fits into your application
1.4. Lucene in action: a sample application
1.4.1. Creating an index
1.4.2. Searching an index
1.5. Understanding the core indexing classes
1.5.1. IndexWriter
1.5.2. Directory
1.5.3. Analyzer
1.5.4. Document
1.5.5. Field
1.6. Understanding the core searching classes
1.6.1. IndexSearcher
1.6.2. Term
1.6.3. Query
1.6.4. TermQuery
1.6.5. TopDocs
1.7. Summary
Chapter 2. Building a search index
2.1. How Lucene models content
2.1.1. Documents and fields
2.1.2. Flexible schema
2.2.2. Analysis