toggle menu
search-client
common
switch theme
search in API
search-client
/
com.jillesvangurp.ktsearch
/
DocumentIndexResponse
Document
Index
Response
@
Serializable
data
class
DocumentIndexResponse
(
val
index
:
String
,
val
type
:
String
?
,
val
id
:
String
,
val
version
:
Long
,
val
result
:
String
,
val
shards
:
Shards
,
val
seqNo
:
Int
,
val
primaryTerm
:
Int
,
val
source
:
JsonObject
?
=
null
)
:
SourceInformation
Members
Members & Extensions
Constructors
Document
Index
Response
Link copied to clipboard
constructor
(
index
:
String
,
type
:
String
?
,
id
:
String
,
version
:
Long
,
result
:
String
,
shards
:
Shards
,
seqNo
:
Int
,
primaryTerm
:
Int
,
source
:
JsonObject
?
=
null
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"_id"
)
open
override
val
id
:
String
index
Link copied to clipboard
@
SerialName
(
value
=
"_index"
)
val
index
:
String
primary
Term
Link copied to clipboard
@
SerialName
(
value
=
"_primary_term"
)
open
override
val
primaryTerm
:
Int
result
Link copied to clipboard
val
result
:
String
seq
No
Link copied to clipboard
@
SerialName
(
value
=
"_seq_no"
)
open
override
val
seqNo
:
Int
shards
Link copied to clipboard
@
SerialName
(
value
=
"_shards"
)
val
shards
:
Shards
source
Link copied to clipboard
@
SerialName
(
value
=
"_source"
)
open
override
val
source
:
JsonObject
?
=
null
type
Link copied to clipboard
@
SerialName
(
value
=
"_type"
)
val
type
:
String
?
version
Link copied to clipboard
@
SerialName
(
value
=
"_version"
)
open
override
val
version
:
Long
Functions
document
Link copied to clipboard
inline
fun
<
T
>
SourceInformation
.
document
(
json
:
Json
=
DEFAULT_JSON
)
:
T