diff --git a/output/schema/schema.json b/output/schema/schema.json index 4ce31fb384..467e46179c 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -127301,7 +127301,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L769-L784" + "specLocation": "cluster/stats/types.ts#L783-L798" }, { "kind": "interface", @@ -127347,7 +127347,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L855-L862" + "specLocation": "cluster/stats/types.ts#L869-L876" }, { "kind": "interface", @@ -127545,7 +127545,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L819-L844" + "specLocation": "cluster/stats/types.ts#L833-L858" }, { "kind": "interface", @@ -127618,7 +127618,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L846-L853" + "specLocation": "cluster/stats/types.ts#L860-L867" }, { "kind": "interface", @@ -127771,7 +127771,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L315-L352" + "specLocation": "cluster/stats/types.ts#L329-L366" }, { "kind": "interface", @@ -128307,7 +128307,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L367-L370" + "specLocation": "cluster/stats/types.ts#L381-L384" }, { "kind": "interface", @@ -128389,7 +128389,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L372-L393" + "specLocation": "cluster/stats/types.ts#L386-L407" }, { "kind": "interface", @@ -128447,7 +128447,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L395-L412" + "specLocation": "cluster/stats/types.ts#L409-L426" }, { "kind": "interface", @@ -128541,7 +128541,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L414-L444" + "specLocation": "cluster/stats/types.ts#L428-L458" }, { "kind": "interface", @@ -128597,7 +128597,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L446-L455" + "specLocation": "cluster/stats/types.ts#L460-L469" }, { "kind": "interface", @@ -128789,7 +128789,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L457-L478" + "specLocation": "cluster/stats/types.ts#L471-L492" }, { "kind": "interface", @@ -128969,7 +128969,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L480-L513" + "specLocation": "cluster/stats/types.ts#L494-L527" }, { "kind": "interface", @@ -129060,7 +129060,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L526-L553" + "specLocation": "cluster/stats/types.ts#L540-L567" }, { "kind": "interface", @@ -129094,7 +129094,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L515-L524" + "specLocation": "cluster/stats/types.ts#L529-L538" }, { "kind": "interface", @@ -129128,7 +129128,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L555-L564" + "specLocation": "cluster/stats/types.ts#L569-L578" }, { "kind": "interface", @@ -129162,7 +129162,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L566-L575" + "specLocation": "cluster/stats/types.ts#L580-L589" }, { "kind": "interface", @@ -129196,7 +129196,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L577-L586" + "specLocation": "cluster/stats/types.ts#L591-L600" }, { "kind": "interface", @@ -129218,7 +129218,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L588-L594" + "specLocation": "cluster/stats/types.ts#L602-L608" }, { "kind": "interface", @@ -129264,7 +129264,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L596-L612" + "specLocation": "cluster/stats/types.ts#L610-L626" }, { "kind": "interface", @@ -129338,7 +129338,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L614-L620" + "specLocation": "cluster/stats/types.ts#L628-L634" }, { "kind": "interface", @@ -129384,7 +129384,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L622-L635" + "specLocation": "cluster/stats/types.ts#L636-L649" }, { "kind": "interface", @@ -129427,7 +129427,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L637-L640" + "specLocation": "cluster/stats/types.ts#L651-L654" }, { "kind": "interface", @@ -129580,7 +129580,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L166-L178" + "specLocation": "cluster/stats/types.ts#L180-L192" }, { "kind": "interface", @@ -129612,7 +129612,70 @@ } } ], - "specLocation": "cluster/stats/types.ts#L157-L160" + "specLocation": "cluster/stats/types.ts#L171-L174" + }, + { + "kind": "interface", + "name": { + "name": "ExtendedRetrieversSearchUsage", + "namespace": "cluster.stats" + }, + "properties": [ + { + "name": "text_similarity_reranker", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "ExtendedTextSimilarityRetrieverUsage", + "namespace": "cluster.stats" + } + } + } + ], + "specLocation": "cluster/stats/types.ts#L163-L165" + }, + { + "kind": "interface", + "name": { + "name": "ExtendedSearchUsage", + "namespace": "cluster.stats" + }, + "properties": [ + { + "name": "retrievers", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "ExtendedRetrieversSearchUsage", + "namespace": "cluster.stats" + } + } + } + ], + "specLocation": "cluster/stats/types.ts#L159-L161" + }, + { + "kind": "interface", + "name": { + "name": "ExtendedTextSimilarityRetrieverUsage", + "namespace": "cluster.stats" + }, + "properties": [ + { + "name": "chunk_rescorer", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "long", + "namespace": "_types" + } + } + } + ], + "specLocation": "cluster/stats/types.ts#L167-L169" }, { "kind": "interface", @@ -129781,7 +129844,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L211-L254" + "specLocation": "cluster/stats/types.ts#L225-L268" }, { "kind": "interface", @@ -129892,7 +129955,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L180-L209" + "specLocation": "cluster/stats/types.ts#L194-L223" }, { "kind": "interface", @@ -129913,7 +129976,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L765-L767" + "specLocation": "cluster/stats/types.ts#L779-L781" }, { "kind": "interface", @@ -129978,7 +130041,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L359-L365" + "specLocation": "cluster/stats/types.ts#L373-L379" }, { "kind": "interface", @@ -130024,7 +130087,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L700-L713" + "specLocation": "cluster/stats/types.ts#L714-L727" }, { "kind": "interface", @@ -130166,7 +130229,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L715-L763" + "specLocation": "cluster/stats/types.ts#L729-L777" }, { "kind": "interface", @@ -130220,7 +130283,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L665-L670" + "specLocation": "cluster/stats/types.ts#L679-L684" }, { "kind": "interface", @@ -130413,7 +130476,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L786-L817" + "specLocation": "cluster/stats/types.ts#L800-L831" }, { "kind": "interface", @@ -130500,7 +130563,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L672-L680" + "specLocation": "cluster/stats/types.ts#L686-L694" }, { "kind": "interface", @@ -130565,7 +130628,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L682-L687" + "specLocation": "cluster/stats/types.ts#L696-L701" }, { "kind": "request", @@ -130854,7 +130917,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L256-L313" + "specLocation": "cluster/stats/types.ts#L270-L327" }, { "kind": "interface", @@ -130961,9 +131024,31 @@ } } } + }, + { + "name": "extended", + "required": true, + "type": { + "kind": "dictionary_of", + "key": { + "kind": "instance_of", + "type": { + "name": "Name", + "namespace": "_types" + } + }, + "singleKey": false, + "value": { + "kind": "instance_of", + "type": { + "name": "ExtendedSearchUsage", + "namespace": "cluster.stats" + } + } + } } ], - "specLocation": "cluster/stats/types.ts#L149-L155" + "specLocation": "cluster/stats/types.ts#L149-L157" }, { "kind": "enum", @@ -130997,7 +131082,7 @@ "name": "ShardState", "namespace": "cluster.stats" }, - "specLocation": "cluster/stats/types.ts#L689-L698" + "specLocation": "cluster/stats/types.ts#L703-L712" }, { "kind": "interface", @@ -131067,7 +131152,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L642-L663" + "specLocation": "cluster/stats/types.ts#L656-L677" }, { "kind": "interface", @@ -131088,7 +131173,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L162-L164" + "specLocation": "cluster/stats/types.ts#L176-L178" }, { "kind": "interface", @@ -131268,7 +131353,7 @@ } } ], - "specLocation": "cluster/stats/types.ts#L354-L357" + "specLocation": "cluster/stats/types.ts#L368-L371" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d1fe73230b..4d24bb2e5b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -10106,6 +10106,18 @@ export interface ClusterStatsDenseVectorStats { off_heap?: ClusterStatsDenseVectorOffHeapStats } +export interface ClusterStatsExtendedRetrieversSearchUsage { + text_similarity_reranker?: ClusterStatsExtendedTextSimilarityRetrieverUsage +} + +export interface ClusterStatsExtendedSearchUsage { + retrievers?: ClusterStatsExtendedRetrieversSearchUsage +} + +export interface ClusterStatsExtendedTextSimilarityRetrieverUsage { + chunk_rescorer?: long +} + export interface ClusterStatsFieldTypes { name: Name count: integer @@ -10233,6 +10245,7 @@ export interface ClusterStatsSearchUsageStats { rescorers: Record sections: Record retrievers: Record + extended: Record } export type ClusterStatsShardState = 'INIT' | 'SUCCESS' | 'FAILED' | 'ABORTED' | 'MISSING' | 'WAITING' | 'QUEUED' | 'PAUSED_FOR_NODE_REMOVAL' diff --git a/specification/cluster/stats/types.ts b/specification/cluster/stats/types.ts index f4383ae99c..daac97b9d6 100644 --- a/specification/cluster/stats/types.ts +++ b/specification/cluster/stats/types.ts @@ -152,6 +152,20 @@ export class SearchUsageStats { rescorers: Dictionary sections: Dictionary retrievers: Dictionary + /* @availability stack since=9.2.0 */ + extended: Dictionary +} + +export class ExtendedSearchUsage { + retrievers?: ExtendedRetrieversSearchUsage +} + +export class ExtendedRetrieversSearchUsage { + text_similarity_reranker?: ExtendedTextSimilarityRetrieverUsage +} + +export class ExtendedTextSimilarityRetrieverUsage { + chunk_rescorer?: long } export class DenseVectorStats {