Skip to content

Commit 08434b8

Browse files
committed
addressing review
1 parent 13f2ed0 commit 08434b8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

specification/cluster/stats/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class ClusterIndices {
101101
/**
102102
* Contains statistics about analyzers and analyzer components used in selected nodes.
103103
*/
104-
analysis: CharFilterTypes
104+
analysis?: CharFilterTypes
105105
/** Contains statistics about memory used for completion in selected nodes. */
106106
completion: CompletionStats
107107
/** Total number of indices with shards assigned to selected nodes. */
@@ -130,7 +130,7 @@ export class ClusterIndices {
130130
/**
131131
* Contains statistics about field mappings in selected nodes.
132132
*/
133-
mappings: FieldTypesMappings
133+
mappings?: FieldTypesMappings
134134
/**
135135
* Contains statistics about analyzers and analyzer components used in selected nodes.
136136
* @doc_id analyzer-anatomy
@@ -139,11 +139,11 @@ export class ClusterIndices {
139139
/**
140140
* Contains statistics about indexed dense vector
141141
*/
142-
dense_vector?: DenseVectorStats
142+
dense_vector: DenseVectorStats
143143
/**
144144
* Contains statistics about indexed sparse vector
145145
*/
146-
sparse_vector?: SparseVectorStats
146+
sparse_vector: SparseVectorStats
147147
}
148148

149149
export class SearchUsageStats {
@@ -188,11 +188,11 @@ export class FieldTypesMappings {
188188
/**
189189
* Total number of fields in all non-system indices.
190190
*/
191-
total_field_count?: integer
191+
total_field_count?: long
192192
/**
193193
* Total number of fields in all non-system indices, accounting for mapping deduplication.
194194
*/
195-
total_deduplicated_field_count?: integer
195+
total_deduplicated_field_count?: long
196196
/**
197197
* Total size of all mappings after deduplication and compression.
198198
*/

specification/nodes/_types/Stats.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ export interface PressureMemory {
197197
*/
198198
replica_rejections?: long
199199
primary_document_rejections?: long
200-
limit?: ByteSize
201-
limit_in_bytes?: long
202200
large_operation_rejections?: long
203201
}
204202

0 commit comments

Comments
 (0)