All Implemented Interfaces:

public class InnerHits
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static InnerHits of​(java.util.function.Function<InnerHits.Builder,​ObjectBuilder<InnerHits>> fn)
    • name

      @Nullable public final java.lang.String name()
      API name: name
    • size

      @Nullable public final java.lang.Integer size()
      API name: size
    • from

      @Nullable public final java.lang.Integer from()
      API name: from
    • collapse

      @Nullable public final FieldCollapse collapse()
      API name: collapse
    • docvalueFields

      public final java.util.List<FieldAndFormat> docvalueFields()
      API name: docvalue_fields
    • explain

      @Nullable public final java.lang.Boolean explain()
      API name: explain
    • highlight

      @Nullable public final Highlight highlight()
      API name: highlight
    • ignoreUnmapped

      @Nullable public final java.lang.Boolean ignoreUnmapped()
      API name: ignore_unmapped
    • scriptFields

      public final java.util.Map<java.lang.String,​ScriptField> scriptFields()
      API name: script_fields
    • seqNoPrimaryTerm

      @Nullable public final java.lang.Boolean seqNoPrimaryTerm()
      API name: seq_no_primary_term
    • fields

      public final java.util.List<java.lang.String> fields()
      API name: fields
    • sort

      public final java.util.List<SortOptions> sort()
      API name: sort
    • source

      @Nullable public final SourceConfig source()
      API name: _source
    • storedField

      public final java.util.List<java.lang.String> storedField()
      API name: stored_field
    • trackScores

      @Nullable public final java.lang.Boolean trackScores()
      API name: track_scores
    • version

      @Nullable public final java.lang.Boolean version()
      API name: version
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupInnerHitsDeserializer

      protected static void setupInnerHitsDeserializer​(ObjectDeserializer<InnerHits.Builder> op)