Interface Document
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultDocument
This interface represents a search result document.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the field names defined in this document.Returns the fields defined in this document.getFieldValue(String fieldName) Returns the value or collection of values for a given field.getTags()Returns the tags defined in this document.
-
Method Details
-
getFieldNames
Collection<String> getFieldNames()Returns the field names defined in this document.- Returns:
- the field names defined in this document
-
getFieldValue
Returns the value or collection of values for a given field.- Returns:
- the value or collection of values for a given field
-
getFields
Returns the fields defined in this document.- Returns:
- the fields defined in this document
-
getTags
Returns the tags defined in this document.- Returns:
- the tags defined in this document
-