Skip to content

Commit

Permalink
[Discover] Update breakdownField to be text type
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Dec 1, 2022
1 parent 7a126b0 commit 7f291a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"osquery-saved-query": "7b213b4b7a3e59350e99c50e8df9948662ed493a",
"query": "4640ef356321500a678869f24117b7091a911cb6",
"sample-data-telemetry": "8b10336d9efae6f3d5593c4cc89fb4abcdf84e04",
"search": "b212646cedccdfb0f8504426f72d1e087c4bab7c",
"search": "c48f5ab5d94545780ea98de1bff9e39f17f3606b",
"search-session": "ba383309da68a15be3765977f7a44c84f0ec7964",
"search-telemetry": "beb3fc25488c753f2a6dcff1845d667558712b66",
"security-rule": "e0dfdba5d66139d0300723b2e6672993cd4a11f3",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/saved_search/server/saved_objects/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function getSavedSearchObjectType(
},
},
rowsPerPage: { type: 'integer', index: false, doc_values: false },
breakdownField: { type: 'keyword', index: false, doc_values: false },
breakdownField: { type: 'text' },
},
},
migrations: () => getAllMigrations(getSearchSourceMigrations()),
Expand Down

0 comments on commit 7f291a8

Please sign in to comment.