org.elasticsearch.search
Interface SearchHitField

All Superinterfaces:
java.lang.Iterable<java.lang.Object>, Streamable
All Known Implementing Classes:
InternalSearchHitField

public interface SearchHitField
extends Streamable, java.lang.Iterable<java.lang.Object>

A single field name and values part of a SearchHit.

See Also:
SearchHit

Method Summary
 java.lang.String getName()
          The name of the field.
 java.lang.Object getValue()
          The first value of the hit.
 java.util.List<java.lang.Object> getValues()
          The field values.
 java.lang.String name()
          The name of the field.
 java.lang.Object value()
          The first value of the hit.
 java.util.List<java.lang.Object> values()
          The field values.
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

name

java.lang.String name()
The name of the field.


getName

java.lang.String getName()
The name of the field.


value

java.lang.Object value()
The first value of the hit.


getValue

java.lang.Object getValue()
The first value of the hit.


values

java.util.List<java.lang.Object> values()
The field values.


getValues

java.util.List<java.lang.Object> getValues()
The field values.