Skip to content

Commit

Permalink
Just set index: false on top-level properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Jun 25, 2020
1 parent 7d5040f commit 2037940
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions x-pack/plugins/maps/server/saved_objects/maps_telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export const mapsTelemetrySavedObjects: SavedObjectsType = {
mappings: {
properties: {
settings: {
index: false,
properties: {
showMapVisualizationTypes: { type: 'boolean', index: false },
showMapVisualizationTypes: { type: 'boolean' },
},
},
indexPatternsWithGeoFieldCount: { type: 'long', index: false },
Expand All @@ -22,23 +23,24 @@ export const mapsTelemetrySavedObjects: SavedObjectsType = {
mapsTotalCount: { type: 'long', index: false },
timeCaptured: { type: 'date', index: false },
attributesPerMap: {
index: false,
properties: {
dataSourcesCount: {
properties: {
min: { type: 'long', index: false },
max: { type: 'long', index: false },
avg: { type: 'long', index: false },
min: { type: 'long' },
max: { type: 'long' },
avg: { type: 'long' },
},
},
layersCount: {
properties: {
min: { type: 'long', index: false },
max: { type: 'long', index: false },
avg: { type: 'long', index: false },
min: { type: 'long' },
max: { type: 'long' },
avg: { type: 'long' },
},
},
layerTypesCount: { type: 'object', index: false },
emsVectorLayersCount: { type: 'object', index: false },
layerTypesCount: { type: 'object' },
emsVectorLayersCount: { type: 'object' },
},
},
},
Expand Down

0 comments on commit 2037940

Please sign in to comment.