Used for input Document creation in LuceneIndexTemplate. Alternatively, Document instances can be passed into LuceneIndexTemplate's corresponding addDocument
methods directly.
The aim of this DocumentCreator implementation is to integrate the use of a DocumentHandlerManager instance for create a Lucene document from an InputStream. So you can declaratively configure the different document handlers to use to index resources (file, stream...). @author Thierry Templier @see LuceneIndexTemplate#addDocument(DocumentCreator) @see LuceneIndexTemplate#addDocument(DocumentCreator,org.apache.lucene.analysis.Analyzer) @see org.springmodules.lucene.index.support.file.DocumentHandlerManager @see org.springmodules.lucene.index.support.file.ExtensionDocumentHandlerManagerFactoryBean
|
|