public class ErrorDocReader extends FileIndexingServiceDocReader
Document
that was
indexed by a ErrorFileIndexingWriter
, which occurs when there is an
error while indexing a given file.ErrorFileIndexingWriter
,
Serialized FormConstructor and Description |
---|
ErrorDocReader()
Constructor for the ErrorDocReader object
|
ErrorDocReader(org.apache.lucene.document.Document doc)
Constructor that may be used programatically to wrap a reader around a Lucene
Document created by a FileIndexingServiceWriter . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDuplicateId()
Gets the duplicateId attribute of the ErrorDocReader object
|
java.io.File |
getDuplicateIdSourceFile()
Gets the duplicateIdSourceFile attribute of the ErrorDocReader object
|
java.lang.String |
getDuplicateIdSourceFilePath()
Gets the duplicateIdSourceFilePath attribute of the ErrorDocReader object
|
java.lang.String |
getErrorDocType()
Gets the errorDocType attribute, which defaults to 'generic'.
|
java.lang.String |
getErrorMsg()
Gets the error message.
|
java.lang.String |
getExceptionName()
Gets the name of the Exception that was thrown to when the error occured.
|
java.lang.String |
getReaderType()
Gets the String 'ErrorDocReader,' which is the key that describes this reader type.
|
java.lang.String |
getStackTrace()
Gets the stack trace that was indicated to when the error occured.
|
void |
init()
Init method does nothing.
|
fileExists, getDateFileWasIndexed, getDateFileWasIndexedString, getDateStamp, getDeleted, getDocDir, getDocsource, getDocsourceEncoded, getDoctype, getFile, getFileExists, getFileName, getFullContent, getFullContentEncodedAs, getLastModified, getLastModifiedAsUTC, getLastModifiedString, isDeleted, prtln, prtlnErr, setDebug
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc
public ErrorDocReader()
public ErrorDocReader(org.apache.lucene.document.Document doc)
Document
created by a FileIndexingServiceWriter
.doc
- A Lucene Document
created by a ItemFileIndexingWriter
.public java.lang.String getReaderType()
getReaderType
in class DocReader
public java.lang.String getErrorMsg()
public java.lang.String getExceptionName()
public java.lang.String getStackTrace()
public java.lang.String getErrorDocType()
public java.lang.String getDuplicateId()
public java.lang.String getDuplicateIdSourceFilePath()
public java.io.File getDuplicateIdSourceFile()