|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.index.reader.DocReader
org.dlese.dpc.index.reader.SimpleDocReader
public class SimpleDocReader
A bean that provides a simple implementataion of the DocReader
interface. This DocReader is used when no other is available.
| Field Summary |
|---|
| Fields inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
conf, doc, resultDoc, score |
| Constructor Summary | |
|---|---|
SimpleDocReader()
Constructor for the SimpleDocReader object |
|
SimpleDocReader(org.apache.lucene.document.Document doc)
Constructor that may be used programatically to wrap a reader around a Lucene Document created by a DocWriter. |
|
| Method Summary | |
|---|---|
String |
getReaderType()
Gets a String describing the reader type. |
void |
init()
Init method does nothing. |
| 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 SimpleDocReader()
public SimpleDocReader(org.apache.lucene.document.Document doc)
Document created by a DocWriter. Sets the
score to 0.
doc - A Lucene Document created by a DocWriter.| Method Detail |
|---|
public void init()
init in class DocReaderpublic String getReaderType()
getReaderType in class DocReader
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||