|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchHits
The hits of a search request.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Method Summary | |
---|---|
SearchHit |
getAt(int position)
Return the hit as the provided position. |
SearchHit[] |
getHits()
The hits of the search request (based on the search type, and from / size provided). |
float |
getMaxScore()
The maximum score of this query. |
long |
getTotalHits()
The total number of hits that matches the search request. |
SearchHit[] |
hits()
The hits of the search request (based on the search type, and from / size provided). |
float |
maxScore()
The maximum score of this query. |
long |
totalHits()
The total number of hits that matches the search request. |
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable |
---|
readFrom, writeTo |
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
toXContent |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
long totalHits()
long getTotalHits()
float maxScore()
float getMaxScore()
SearchHit[] hits()
SearchHit getAt(int position)
SearchHit[] getHits()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |