|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocWriter
Abstract class for creating a typed Lucene Document
. A DocReader
should be implemented to read Document
s of this type.
DocReader
,
ResultDoc
Method Summary | |
---|---|
String |
getDocType()
Returns a unique document type key for this kind of document, corresponding to the format type. |
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". |
Method Detail |
---|
String getDocType() throws Exception
StandardAnalyzer
so it must be lowercase and should not contain any
stop words.
Exception
- This method should throw and Exception with appropriate error message if an error
occurs.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
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |