|
DLESE Tools v1.2 |
||||||||||
| 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
A simple implementataion of the DocReader
interface.
ResultDoc| Field Summary |
|---|
| Fields inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
conf, doc, score |
| Constructor Summary | |
|---|---|
SimpleDocReader()
Constructor that initializes an empty DocReader. |
|
SimpleDocReader(Document doc)
Constructor that may be used programatically to wrap a reader around a Lucene Document created by a DocWriter. |
|
SimpleDocReader(Document doc,
float score,
ResultDocConfig conf)
Constructor that is used by ResultDoc at search
time to create a new instance. |
|
| Method Summary | |
|---|---|
String |
getReaderType()
Gets a String describing the reader type. |
| Methods inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
getDocument, getIndex, getQuery, getScore, setDoc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleDocReader(Document doc,
float score,
ResultDocConfig conf)
ResultDoc at search
time to create a new instance.
doc - The Lucene Document that is read.score - The rank of the Document in a set of results.public SimpleDocReader(Document doc)
Document created by a DocWriter. Sets the score to 0.
doc - A Lucene Document created by
a DocWriter.public SimpleDocReader()
| Method Detail |
public String getReaderType()
getReaderType in class DocReader
|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||