Skip to content

Commit

Permalink
trackTotalHits --> track_total_hits
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Oct 19, 2021
1 parent af5749c commit 7459342
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const defaultRequestParameters = {
allow_no_indices: true,
ignore_unavailable: true,
track_scores: false,
trackTotalHits: false,
track_total_hits: false,
};

const compositeDatasetKeyRT = rt.type({
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/infra/server/lib/infra_ml/queries/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const defaultRequestParameters = {
allow_no_indices: true,
ignore_unavailable: true,
track_scores: false,
trackTotalHits: false,
track_total_hits: false,
};

export const createJobIdFilters = (jobId: string) => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('createMetricsHostAnomaliesQuery', () => {
allow_no_indices: true,
ignore_unavailable: true,
track_scores: false,
trackTotalHits: false,
track_total_hits: false,
body: {
query: {
bool: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('createMetricsK8sAnomaliesQuery', () => {
allow_no_indices: true,
ignore_unavailable: true,
track_scores: false,
trackTotalHits: false,
track_total_hits: false,
body: {
query: {
bool: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const defaultRequestParameters = {
allow_no_indices: true,
ignore_unavailable: true,
track_scores: false,
trackTotalHits: false,
track_total_hits: false,
};

export const createJobIdFilters = (jobId: string) => [
Expand Down

0 comments on commit 7459342

Please sign in to comment.