public class LuceneDocument extends Object implements DocumentIF
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.document.Document |
document |
Modifier and Type | Method and Description |
---|---|
void |
addField(FieldIF field)
INTERNAL: Adds the given field to the document.
|
FieldIF |
getField(String name)
INTERNAL: Returns the field with the specified name.
|
Collection<FieldIF> |
getFields()
INTERNAL: Returns all the fields of this document.
|
void |
removeField(FieldIF field)
INTERNAL: Removes the given field from the document.
|
String |
toString() |
public FieldIF getField(String name)
DocumentIF
getField
in interface DocumentIF
public Collection<FieldIF> getFields()
DocumentIF
getFields
in interface DocumentIF
public void addField(FieldIF field)
DocumentIF
addField
in interface DocumentIF
public void removeField(FieldIF field)
DocumentIF
removeField
in interface DocumentIF