- add
Adds a field to a document. Several fields may be added with the same name. In
this case, if the fie
- <init>
Constructs a new document with no fields.
- get
Returns the string value of the field with the given name if any exist in this
document, or null. If
- getField
Returns a field with the given name if any exist in this document, or null. If
multiple fields exist
- getFields
Returns an array of IndexableFields with the given name. This method returns an
empty array when the
- getValues
Returns an array of values of the field specified as the method parameter. This
method returns an em
- getBinaryValue
Returns an array of bytes for the first (or only) field that has the name
specified as the method pa
- getFieldable
Returns a field with the given name if any exist in this document, or null. If
multiple fields exist
- toString
Prints the fields of a document for human consumption.
- removeFields
Removes all fields with the given name from the document. If there is no field
with the specified na
- removeField
Removes field with the specified name from the document. If multiple fields
exist with this name, th
- getFieldables
Returns an array of Fieldables with the given name. This method returns an empty
array when there ar