Class SearchHit.NestedIdentity

    • Constructor Detail

    • Method Detail

      • getField

        public Text getField()
        Returns the nested field in the source this hit originates from
      • getOffset

        public int getOffset()
        Returns the offset in the nested array of objects in the source this hit
      • getChild

        public SearchHit.NestedIdentity getChild()
        Returns the next child nested level if there is any, otherwise null is returned. In the case of mappings with multiple levels of nested object fields
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object