|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.reader.DocReader org.dlese.dpc.index.reader.FileIndexingServiceDocReader org.dlese.dpc.index.reader.ErrorDocReader
public class ErrorDocReader
A bean for accessing the data stored in a Lucene Document
that was
indexed by a ErrorFileIndexingWriter
, which occurs when there is an
error while indexing a given file.
ErrorFileIndexingWriter
,
Serialized FormField Summary |
---|
Fields inherited from class org.dlese.dpc.index.reader.DocReader |
---|
conf, doc, resultDoc, score |
Constructor Summary | |
---|---|
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 . |
Method Summary | |
---|---|
String |
getDuplicateId()
Gets the duplicateId attribute of the ErrorDocReader object |
File |
getDuplicateIdSourceFile()
Gets the duplicateIdSourceFile attribute of the ErrorDocReader object |
String |
getDuplicateIdSourceFilePath()
Gets the duplicateIdSourceFilePath attribute of the ErrorDocReader object |
String |
getErrorDocType()
Gets the errorDocType attribute, which defaults to 'generic'. |
String |
getErrorMsg()
Gets the error message. |
String |
getExceptionName()
Gets the name of the Exception that was thrown to when the error occured. |
String |
getReaderType()
Gets the String 'ErrorDocReader,' which is the key that describes this reader type. |
String |
getStackTrace()
Gets the stack trace that was indicated to when the error occured. |
void |
init()
Init method does nothing. |
Methods inherited from class org.dlese.dpc.index.reader.FileIndexingServiceDocReader |
---|
fileExists, getDateFileWasIndexed, getDateFileWasIndexedString, getDateStamp, getDeleted, getDocDir, getDocsource, getDocsourceEncoded, getDoctype, getFile, getFileExists, getFileName, getFullContent, getFullContentEncodedAs, getLastModified, getLastModifiedAsUTC, getLastModifiedString, isDeleted, prtln, prtlnErr, setDebug |
Methods inherited from class org.dlese.dpc.index.reader.DocReader |
---|
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorDocReader()
public ErrorDocReader(org.apache.lucene.document.Document doc)
Document
created by a FileIndexingServiceWriter
.
doc
- A Lucene Document
created by a ItemFileIndexingWriter
.Method Detail |
---|
public void init()
init
in class DocReader
public String getReaderType()
getReaderType
in class DocReader
public String getErrorMsg()
public String getExceptionName()
public String getStackTrace()
public String getErrorDocType()
public String getDuplicateId()
public String getDuplicateIdSourceFilePath()
public File getDuplicateIdSourceFile()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |