Class ResponseDocument


  • public abstract class ResponseDocument
    extends Object
    Represents a search response document. This class is used to map the _meta fields onto the search results document
    • Constructor Detail

      • ResponseDocument

        public ResponseDocument()
    • Method Detail

      • getMeta

        public MetaField getMeta()
        Metadata about this search result
        Returns:
        the document metadata
      • getGroupedDocuments

        public List<ResponseDocument> getGroupedDocuments()
        The _group documents related to this result
        Returns:
        all other documents that share an identical value within the grouped field, or empty list if grouping wasn't applied
      • getGroupKey

        public String getGroupKey()
        The key used to group the result
        Returns:
        the key used to group the result, or null if grouping wasn't applied