public class WebLogReader extends DocReader
Document
that logs a
single web request. The index writer that is responsible for creating this type of Lucene Document
is a WebLogWriter
.WebLogWriter
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:
|
java.lang.String |
getNotes()
Gets the notes attribute of the WebLogReader object
|
java.lang.String |
getReaderType()
Gets a String describing the reader type.
|
java.lang.String |
getRemoteHost()
Gets the IP address of the requesting remote host.
|
java.lang.String |
getRemoteHostName()
Gets the fully qualified domain name the requesting IP.
|
java.lang.String |
getRequestDate()
Gets the requestDate attribute of the WebLogReader object
|
java.lang.String |
getRequestUrl()
Gets the requestUrl attribute of the WebLogReader object
|
void |
init()
Init method does nothing.
|
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc
public java.lang.String getRequestDate()
public java.lang.String getRequestUrl()
public java.lang.String getNotes()
public java.lang.String getRemoteHost()
public java.lang.String getRemoteHostName()
public java.lang.String getReaderType()
getReaderType
in class DocReader
protected static final java.lang.String getDateStamp()