SearchHit
data class SearchHit<S : BaseDocSource>(val index: String, val type: String, val id: String, val routing: String? = null, val version: Long? = null, val seqNo: Long? = null, val primaryTerm: Long? = null, val score: Float? = null, val sort: List<Any?>? = null, val source: S? = null, val fields: SearchHit.Fields = Fields(emptyMap()), val explanation: Explanation? = null) : ActionMeta
Constructors
Link copied to clipboard
fun <S : BaseDocSource> SearchHit(index: String, type: String, id: String, routing: String? = null, version: Long? = null, seqNo: Long? = null, primaryTerm: Long? = null, score: Float? = null, sort: List<Any?>? = null, source: S? = null, fields: SearchHit.Fields = Fields(emptyMap()), explanation: Explanation? = null)