T - type of sourceK - type of explanationpublic class SearchResult.Hit<T,K> extends Object
| Modifier and Type | Field and Description |
|---|---|
K |
explanation |
Map<String,List<String>> |
highlight |
String |
id |
String |
index |
Double |
score |
List<String> |
sort |
T |
source |
String |
type |
| Constructor and Description |
|---|
Hit(Class<T> sourceType,
com.fasterxml.jackson.databind.JsonNode source) |
Hit(Class<T> sourceType,
com.fasterxml.jackson.databind.JsonNode source,
Class<K> explanationType,
com.fasterxml.jackson.databind.JsonNode explanation) |
Hit(Class<T> sourceType,
com.fasterxml.jackson.databind.JsonNode source,
Class<K> explanationType,
com.fasterxml.jackson.databind.JsonNode explanation,
Map<String,List<String>> highlight,
List<String> sort) |
Hit(Class<T> sourceType,
com.fasterxml.jackson.databind.JsonNode source,
Class<K> explanationType,
com.fasterxml.jackson.databind.JsonNode explanation,
Map<String,List<String>> highlight,
List<String> sort,
String index,
String type,
String id,
Double score) |
Hit(T source) |
Hit(T source,
K explanation) |
Hit(T source,
K explanation,
Map<String,List<String>> highlight,
List<String> sort) |
Hit(T source,
K explanation,
Map<String,List<String>> highlight,
List<String> sort,
String index,
String type,
String id,
Double score) |
public final T source
public final K explanation
public final String index
public final String type
public final String id
public final Double score
public Hit(Class<T> sourceType, com.fasterxml.jackson.databind.JsonNode source, Class<K> explanationType, com.fasterxml.jackson.databind.JsonNode explanation)
public Hit(Class<T> sourceType, com.fasterxml.jackson.databind.JsonNode source, Class<K> explanationType, com.fasterxml.jackson.databind.JsonNode explanation, Map<String,List<String>> highlight, List<String> sort)
public Hit(Class<T> sourceType, com.fasterxml.jackson.databind.JsonNode source, Class<K> explanationType, com.fasterxml.jackson.databind.JsonNode explanation, Map<String,List<String>> highlight, List<String> sort, String index, String type, String id, Double score)
public Hit(T source)
Copyright © 2018. All rights reserved.