Skip to content

Commit

Permalink
Revert "[savedObjects] change the number mappings to be 'long'"
Browse files Browse the repository at this point in the history
Fixes #5983
  • Loading branch information
spalger authored and Spencer Alger committed Jan 22, 2016
1 parent 614674a commit d79c27c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ define(function (require) {
uiStateJSON: 'string',
description: 'string',
savedSearchId: 'string',
version: 'long'
version: 'integer'
};

SavedVis.searchSource = true;
Expand Down

0 comments on commit d79c27c

Please sign in to comment.