Skip to content

Commit

Permalink
[es/mappings] remove doc_values from text fields (#79869)
Browse files Browse the repository at this point in the history
Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
Spencer and spalger authored Oct 7, 2020
1 parent 37f9db4 commit deef4c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/plugins/dashboard/server/saved_objects/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export const dashboardSavedObjectType: SavedObjectsType = {
description: { type: 'text' },
hits: { type: 'integer', index: false, doc_values: false },
kibanaSavedObjectMeta: {
properties: { searchSourceJSON: { type: 'text', index: false, doc_values: false } },
properties: { searchSourceJSON: { type: 'text', index: false } },
},
optionsJSON: { type: 'text', index: false, doc_values: false },
panelsJSON: { type: 'text', index: false, doc_values: false },
optionsJSON: { type: 'text', index: false },
panelsJSON: { type: 'text', index: false },
refreshInterval: {
properties: {
display: { type: 'keyword', index: false, doc_values: false },
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/discover/server/saved_objects/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const searchSavedObjectType: SavedObjectsType = {
hits: { type: 'integer', index: false, doc_values: false },
kibanaSavedObjectMeta: {
properties: {
searchSourceJSON: { type: 'text', index: false, doc_values: false },
searchSourceJSON: { type: 'text', index: false },
},
},
sort: { type: 'keyword', index: false, doc_values: false },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ export const visualizationSavedObjectType: SavedObjectsType = {
properties: {
description: { type: 'text' },
kibanaSavedObjectMeta: {
properties: { searchSourceJSON: { type: 'text', index: false, doc_values: false } },
properties: { searchSourceJSON: { type: 'text', index: false } },
},
savedSearchRefName: { type: 'keyword', index: false, doc_values: false },
title: { type: 'text' },
uiStateJSON: { type: 'text', index: false, doc_values: false },
uiStateJSON: { type: 'text', index: false },
version: { type: 'integer' },
visState: { type: 'text', index: false, doc_values: false },
visState: { type: 'text', index: false },
},
},
migrations: visualizationSavedObjectTypeMigrations,
Expand Down

0 comments on commit deef4c5

Please sign in to comment.