toggle menu
search-client
common
switch theme
search in API
search-client
/
com.jillesvangurp.ktsearch
/
BulkResponse
Bulk
Response
@
Serializable
data
class
BulkResponse
(
val
took
:
Long
,
val
errors
:
Boolean
,
val
items
:
List
<
JsonObject
>
)
Members
Constructors
Bulk
Response
Link copied to clipboard
constructor
(
took
:
Long
,
errors
:
Boolean
,
items
:
List
<
JsonObject
>
)
Types
Item
Details
Link copied to clipboard
@
Serializable
data
class
ItemDetails
(
val
index
:
String
,
val
type
:
String
?
,
val
id
:
String
,
val
version
:
Long
?
,
val
result
:
String
?
,
val
shards
:
Shards
?
,
val
seqNo
:
Long
?
,
val
primaryTerm
:
Long
?
,
val
status
:
Int
,
val
error
:
BulkResponse.ItemError
?
=
null
,
val
source
:
JsonObject
?
=
null
)
Item
Error
Link copied to clipboard
@
Serializable
data
class
ItemError
(
val
type
:
String
?
=
null
,
val
reason
:
String
?
=
null
,
val
indexUuid
:
String
?
=
null
,
val
shard
:
String
?
=
null
,
val
index
:
String
?
=
null
)
Properties
errors
Link copied to clipboard
val
errors
:
Boolean
item
Details
Link copied to clipboard
val
itemDetails
:
List
<
Pair
<
OperationType
,
BulkResponse.ItemDetails
>
>
items
Link copied to clipboard
val
items
:
List
<
JsonObject
>
took
Link copied to clipboard
val
took
:
Long