Class DocumentSummary

java.lang.Object
com.yahoo.search.schema.DocumentSummary

public class DocumentSummary extends Object
A document summary definition: Defines the schema on which a document hit may be represented in a Result.
Author:
bratseth
  • Method Details

    • name

      public String name()
    • fields

      public Map<String,DocumentSummary.Field> fields()
    • isDynamic

      public boolean isDynamic()
      Returns whether this contains fields which are generated dynamically from the query and field data.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object