Class LuceneDocument
java.lang.Object
net.ontopia.infoset.fulltext.impl.lucene.LuceneDocument
- All Implemented Interfaces:
DocumentIF
INTERNAL: DocumentIF wrapper for Lucene's own internal document class.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidINTERNAL: Adds the given field to the document.INTERNAL: Returns the field with the specified name.INTERNAL: Returns all the fields of this document.voidremoveField(FieldIF field) INTERNAL: Removes the given field from the document.toString()
-
Field Details
-
document
protected org.apache.lucene.document.Document document
-
-
Method Details
-
getField
Description copied from interface:DocumentIFINTERNAL: Returns the field with the specified name.- Specified by:
getFieldin interfaceDocumentIF
-
getFields
Description copied from interface:DocumentIFINTERNAL: Returns all the fields of this document.- Specified by:
getFieldsin interfaceDocumentIF- Returns:
- A collection of FieldIF objects.
-
addField
Description copied from interface:DocumentIFINTERNAL: Adds the given field to the document.- Specified by:
addFieldin interfaceDocumentIF
-
removeField
Description copied from interface:DocumentIFINTERNAL: Removes the given field from the document.- Specified by:
removeFieldin interfaceDocumentIF
-
toString
-