|
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.WebLogReader
public class WebLogReader
A bean for accessing the data stored in a Lucene Document
that logs a
single web request. The index writer that is responsible for creating this type of Lucene Document
is a WebLogWriter
.
WebLogWriter
Field Summary |
---|
Fields inherited from class org.dlese.dpc.index.reader.DocReader |
---|
conf, doc, resultDoc, score |
Constructor Summary | |
---|---|
WebLogReader()
Constructor for the WebLogReader object |
|
WebLogReader(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 | |
---|---|
protected static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
String |
getNotes()
Gets the notes attribute of the WebLogReader object |
String |
getReaderType()
Gets a String describing the reader type. |
String |
getRemoteHost()
Gets the IP address of the requesting remote host. |
String |
getRemoteHostName()
Gets the fully qualified domain name the requesting IP. |
String |
getRequestDate()
Gets the requestDate attribute of the WebLogReader object |
String |
getRequestUrl()
Gets the requestUrl attribute of the WebLogReader object |
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 WebLogReader()
public WebLogReader(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 DocReader
public String getRequestDate()
public String getRequestUrl()
public String getNotes()
public String getRemoteHost()
public String getRemoteHostName()
public String getReaderType()
getReaderType
in class DocReader
protected static final String getDateStamp()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |