public interface DocWriter
Document. A DocReader should be implemented to read Documents of this type.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocType()
Returns a unique document type key for this kind of document, corresponding to the format type.
|
java.lang.String |
getReaderClass()
Gets the name of the concrete
DocReader class that is used to read
this type of Document, for example
"org.dlese.dpc.index.reader.ItemDocReader". |
java.lang.String getDocType()
throws java.lang.Exception
StandardAnalyzer so it must be lowercase and should not contain any
stop words.java.lang.Exception - This method should throw and Exception with appropriate error message if an error
occurs.java.lang.String getReaderClass()
DocReader class that is used to read
this type of Document, for example
"org.dlese.dpc.index.reader.ItemDocReader". The class name is used by the ResultDoc factory to return the appropriate DocReader.DocReader