This is the simplier factory to get reader and writer instances to work on a Lucene index.
This factory only constructs IndexReader and IndexWriter instances. There is no control on current use of the different methods of the reader and the writer.
Before creating an IndexWriter, this implementation checks if the index already exists. If not, it sets a flag to notify the IndexWriter to create it. @author Brian McCallister @author Thierry Templier @see org.springmodules.lucene.index.factory.IndexFactory @see org.springmodules.lucene.index.factory.AbstractIndexFactory @see org.springmodules.lucene.index.factory.AbstractIndexFactory#setIndexWriterParameters(IndexWriter) @see org.apache.lucene.index.IndexReader @see org.apache.lucene.index.IndexWriter
|
|
|
|
|
|