Lucene in Action: Meet Lucene Pt. 2 | WebReference  Lucene in
Action: Meet Lucene Pt. 2  Lucene in Action: Meet Lucene Pt. 2
Written by Otis Gospodnetic and Erik Hatcher and reproduced from
"Lucene in Action" by permission of Manning Publications Co.
ISBN 1932394281, copyright 2004. All rights reserved. See for
more information.  1.5 Understanding the core indexing classes
As you saw in our Indexer class, you need the following classes
to perform the simplest indexing procedure:  What follows is a
brief overview of these classes, to give you a rough idea about
their role in Lucene. We'll use these classes throughout this
book.  3 Neal Stephenson details this process nicely in "In the
Beginning Was the Command Line": http://  1.5.1 IndexWriter
IndexWriter is the central component of the indexing process.
This class creates a new index and adds documents to an existing
index. You can think of IndexWriter as an object that gives you
write access to the index but doesn't let you read or search it.
Despite its