The configured DocumentHandlerManager can be based either on file extensions because the factory bean uses the DocumentExtensionMatching class to register the specified DocumentHandlers with the documentHandlers property. The class internally uses by default the class DefaultDocumentHandlerManager
as implementation of DocumentHandlerManager
and IdentityDocumentMatching
as implementation of DocumentMatching
. This can be changed according to their different mutators. In the case of a matching based on file extension, the ExtensionDocumentMatching
can be used.
@author Thierry Templier
@see org.springmodules.lucene.index.support.file.DocumentHandlerManager
@see #setDocumentHandlerManagerClass(Class)
@see #setDocumentMatchingClass(Class)
@see org.springmodules.lucene.index.support.handler.IdentityDocumentMatching
@see org.springmodules.lucene.index.support.handler.ExtensionDocumentMatching
|
|