Create a new Document instance with set of Fields and optionally, the corresponding Lucene document id.
Create a new Document instance with set of Fields and optionally, the corresponding Lucene document id.
the field set
the Lucene document id
the Lucene document id
the field set
Returns the Field instance for given field name.
Returns the Field instance for given field name.
the field name
the field or None if the requested field does not exist.
Returns the string representation for the value of given field name.
Returns the string representation for the value of given field name.
the field name
the field values or None if the requested field does not exist.
Generate an Lucene Document instance from this document with given schema.
Generate an Lucene Document instance from this document with given schema.
the schema holding field type mapping
a new Lucene Document instance
Class representing a document. This holds one or more fields.