@@ -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
149149export 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 */
0 commit comments