Skip to content

Commit

Permalink
[ES|QL] Retrieves ccs information for inspector on demand (#196105)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
stratoula authored Oct 16, 2024
1 parent 66708b2 commit fbe15fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-es-types/src/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ export interface ESQLSearchParams {
query: string;
filter?: unknown;
locale?: string;
include_ccs_metadata?: boolean;
dropNullColumns?: boolean;
params?: Array<Record<string, string | undefined>>;
}
1 change: 1 addition & 0 deletions src/plugins/data/common/search/expressions/esql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => {
query,
// time_zone: timezone,
locale,
include_ccs_metadata: true,
};
if (input) {
const esQueryConfigs = getEsQueryConfig(
Expand Down

0 comments on commit fbe15fe

Please sign in to comment.