|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ants.p2p.utils.indexer.PartialFileDocument
public class PartialFileDocument
A utility for making Lucene Documents from a File.
Method Summary | |
---|---|
static org.apache.lucene.document.Document |
Document(InterruptedDownload id)
|
static org.apache.lucene.document.Document |
Document(MultipleSourcesDownloadManager msdm)
Makes a document for a File. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.apache.lucene.document.Document Document(MultipleSourcesDownloadManager msdm)
The document has three fields:
path
--containing the pathname of the file, as a stored,
tokenized field;
modified
--containing the last modified date of the file as
a keyword field as encoded by DateField; and
contents
--containing the full contents of the file, as a
Reader field;
public static org.apache.lucene.document.Document Document(InterruptedDownload id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |