Skip to content

Commit 73048ca

Browse files
committed
[ES|QL] Retrieves ccs information for inspector on demand (elastic#196105)
## Summary Retrieves the cluster details info on demand. Follow up of elastic/elasticsearch#114437 This will display the cluster details info only when needed: - Discover inspector - Lens ES|QL charts inspector (cherry picked from commit fbe15fe)
1 parent ddcecd6 commit 73048ca

File tree

2 files changed

+2
-0
lines changed
  • packages/kbn-es-types/src
  • src/plugins/data/common/search/expressions

2 files changed

+2
-0
lines changed

packages/kbn-es-types/src/search.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ export interface ESQLSearchParams {
692692
query: string;
693693
filter?: unknown;
694694
locale?: string;
695+
include_ccs_metadata?: boolean;
695696
dropNullColumns?: boolean;
696697
params?: Array<Record<string, string | undefined>>;
697698
}

src/plugins/data/common/search/expressions/esql.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
164164
query,
165165
// time_zone: timezone,
166166
locale,
167+
include_ccs_metadata: true,
167168
};
168169
if (input) {
169170
const esQueryConfigs = getEsQueryConfig(

0 commit comments

Comments
 (0)