Uses of Class
org.elasticsearch.search.SearchHit
-
-
Uses of SearchHit in org.elasticsearch.index.rankeval
Methods in org.elasticsearch.index.rankeval that return SearchHit Modifier and Type Method Description SearchHitRatedSearchHit. getSearchHit()Methods in org.elasticsearch.index.rankeval with parameters of type SearchHit Modifier and Type Method Description EvalQueryQualityEvaluationMetric. evaluate(String taskId, SearchHit[] hits, List<RatedDocument> ratedDocs)Evaluates a single ranking evaluation case.static List<RatedSearchHit>EvaluationMetric. joinHitsWithRatings(SearchHit[] hits, List<RatedDocument> ratedDocs)Joins hits with rated documents using the joint _index/_id document key.Constructors in org.elasticsearch.index.rankeval with parameters of type SearchHit Constructor Description RatedSearchHit(SearchHit searchHit, OptionalInt rating) -
Uses of SearchHit in org.elasticsearch.search
Fields in org.elasticsearch.search declared as SearchHit Modifier and Type Field Description static SearchHit[]SearchHits. EMPTYMethods in org.elasticsearch.search that return SearchHit Modifier and Type Method Description static SearchHitSearchHit. createFromMap(Map<String,Object> values)static SearchHitSearchHit. fromXContent(XContentParser parser)SearchHitSearchHits. getAt(int position)Return the hit as the provided position.SearchHit[]SearchHits. getHits()The hits of the search request (based on the search type, and from / size provided).SearchHitSearchHit. sourceRef(BytesReference source)Sets representation, might be compressed....Methods in org.elasticsearch.search that return types with arguments of type SearchHit Modifier and Type Method Description Iterator<SearchHit>SearchHits. iterator()Constructors in org.elasticsearch.search with parameters of type SearchHit Constructor Description SearchHits(SearchHit[] hits, TotalHits totalHits, float maxScore)SearchHits(SearchHit[] hits, TotalHits totalHits, float maxScore, SortField[] sortFields, String collapseField, Object[] collapseValues) -
Uses of SearchHit in org.elasticsearch.search.fetch
Methods in org.elasticsearch.search.fetch that return SearchHit Modifier and Type Method Description SearchHitFetchSubPhase.HitContext. hit()Methods in org.elasticsearch.search.fetch with parameters of type SearchHit Modifier and Type Method Description default voidFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidFetchSubPhase.HitContext. reset(SearchHit hit, LeafReaderContext context, int docId, IndexSearcher searcher) -
Uses of SearchHit in org.elasticsearch.search.fetch.subphase
Methods in org.elasticsearch.search.fetch.subphase with parameters of type SearchHit Modifier and Type Method Description voidDocValueFieldsFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidInnerHitsFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidMatchedQueriesFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidScoreFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidScriptFieldsFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidSeqNoPrimaryTermFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)voidVersionFetchSubPhase. hitsExecute(SearchContext context, SearchHit[] hits)abstract TopDocsAndMaxScore[]InnerHitsContext.InnerHitSubContext. topDocs(SearchHit[] hits) -
Uses of SearchHit in org.elasticsearch.search.suggest.completion
Methods in org.elasticsearch.search.suggest.completion that return SearchHit Modifier and Type Method Description SearchHitCompletionSuggestion.Entry.Option. getHit()Methods in org.elasticsearch.search.suggest.completion with parameters of type SearchHit Modifier and Type Method Description voidCompletionSuggestion.Entry.Option. setHit(SearchHit hit)
-