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 3. Indexing Your Data

We will cover the following topics in this chapter:

  • 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