public final class PlainDocument extends Object
public static org.apache.lucene.document.Document Document(Resource f, String charset) throws IOException
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;f
- IOException
Copyright © 2015 Lucee