Merge pull request #5983 from elastic/revert-5935-3882-mapper-longints

Revert "[savedObjects] change the number mappings to be 'long'"
This commit is contained in:
Spencer 2016-01-22 16:37:20 -07:00
commit 39f56d6bc6
3 changed files with 5 additions and 5 deletions

View file

@ -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',

View file

@ -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;

View file

@ -48,7 +48,7 @@ define(function (require) {
uiStateJSON: 'string',
description: 'string',
savedSearchId: 'string',
version: 'long'
version: 'integer'
};
SavedVis.searchSource = true;