mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[savedObjects] change the number mappings to be 'long'
Since JavaScript numbers can't actually be integers we don't really
care about the difference between int and long, but since the long
is the default type it makes things more frictionless
Original
commit: 1b9a6465d8
author: @spalger
This commit is contained in:
parent
5dbbabce59
commit
267ba2bf72
3 changed files with 5 additions and 5 deletions
|
@ -47,12 +47,12 @@ define(function (require) {
|
|||
// if type:dashboard has no mapping, we push this mapping into ES
|
||||
SavedDashboard.mapping = {
|
||||
title: 'string',
|
||||
hits: 'integer',
|
||||
hits: 'long',
|
||||
description: 'string',
|
||||
panelsJSON: 'string',
|
||||
optionsJSON: 'string',
|
||||
uiStateJSON: 'string',
|
||||
version: 'integer',
|
||||
version: 'long',
|
||||
timeRestore: 'boolean',
|
||||
timeTo: 'string',
|
||||
timeFrom: 'string',
|
||||
|
|
|
@ -33,10 +33,10 @@ define(function (require) {
|
|||
SavedSearch.mapping = {
|
||||
title: 'string',
|
||||
description: 'string',
|
||||
hits: 'integer',
|
||||
hits: 'long',
|
||||
columns: 'string',
|
||||
sort: 'string',
|
||||
version: 'integer'
|
||||
version: 'long'
|
||||
};
|
||||
|
||||
SavedSearch.searchSource = true;
|
||||
|
|
|
@ -48,7 +48,7 @@ define(function (require) {
|
|||
uiStateJSON: 'string',
|
||||
description: 'string',
|
||||
savedSearchId: 'string',
|
||||
version: 'integer'
|
||||
version: 'long'
|
||||
};
|
||||
|
||||
SavedVis.searchSource = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue