diff --git a/src/plugins/kibana/public/dashboard/services/_saved_dashboard.js b/src/plugins/kibana/public/dashboard/services/_saved_dashboard.js index 5181b05fc5691..d7115a9bcfca4 100644 --- a/src/plugins/kibana/public/dashboard/services/_saved_dashboard.js +++ b/src/plugins/kibana/public/dashboard/services/_saved_dashboard.js @@ -47,12 +47,12 @@ define(function (require) { // if type:dashboard has no mapping, we push this mapping into ES SavedDashboard.mapping = { title: 'string', - hits: 'long', + hits: 'integer', description: 'string', panelsJSON: 'string', optionsJSON: 'string', uiStateJSON: 'string', - version: 'long', + version: 'integer', timeRestore: 'boolean', timeTo: 'string', timeFrom: 'string', diff --git a/src/plugins/kibana/public/discover/saved_searches/_saved_search.js b/src/plugins/kibana/public/discover/saved_searches/_saved_search.js index 117f1c375af59..0f678b49770cb 100644 --- a/src/plugins/kibana/public/discover/saved_searches/_saved_search.js +++ b/src/plugins/kibana/public/discover/saved_searches/_saved_search.js @@ -33,10 +33,10 @@ define(function (require) { SavedSearch.mapping = { title: 'string', description: 'string', - hits: 'long', + hits: 'integer', columns: 'string', sort: 'string', - version: 'long' + version: 'integer' }; SavedSearch.searchSource = true; diff --git a/src/plugins/kibana/public/visualize/saved_visualizations/_saved_vis.js b/src/plugins/kibana/public/visualize/saved_visualizations/_saved_vis.js index 839889bb35486..f7ce3e56bb22c 100644 --- a/src/plugins/kibana/public/visualize/saved_visualizations/_saved_vis.js +++ b/src/plugins/kibana/public/visualize/saved_visualizations/_saved_vis.js @@ -48,7 +48,7 @@ define(function (require) { uiStateJSON: 'string', description: 'string', savedSearchId: 'string', - version: 'long' + version: 'integer' }; SavedVis.searchSource = true;