Skip to content

Commit

Permalink
rm index: false from binary mappings (#71343)
Browse files Browse the repository at this point in the history
* rm index: false from binary mappings

* test against unverified snapshot

* two more

* Mapping adjustments

* Revert "Mapping adjustments"

This reverts commit 52d68dc.

* Revert "test against unverified snapshot"

This reverts commit 4284ac3.

Co-authored-by: Madison Caldwell <madison.caldwell@elastic.co>
  • Loading branch information
jbudz and madirey authored Jul 13, 2020
1 parent 7282597 commit b3c6ce9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x-pack/plugins/ingest_manager/server/saved_objects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const savedObjectTypes: { [key: string]: SavedObjectsType } = {
last_checkin_status: { type: 'keyword' },
config_revision: { type: 'integer' },
default_api_key_id: { type: 'keyword' },
default_api_key: { type: 'binary', index: false },
default_api_key: { type: 'binary' },
updated_at: { type: 'date' },
current_error_events: { type: 'text', index: false },
packages: { type: 'keyword' },
Expand All @@ -85,7 +85,7 @@ const savedObjectTypes: { [key: string]: SavedObjectsType } = {
properties: {
agent_id: { type: 'keyword' },
type: { type: 'keyword' },
data: { type: 'binary', index: false },
data: { type: 'binary' },
sent_at: { type: 'date' },
created_at: { type: 'date' },
},
Expand Down Expand Up @@ -146,7 +146,7 @@ const savedObjectTypes: { [key: string]: SavedObjectsType } = {
properties: {
name: { type: 'keyword' },
type: { type: 'keyword' },
api_key: { type: 'binary', index: false },
api_key: { type: 'binary' },
api_key_id: { type: 'keyword' },
config_id: { type: 'keyword' },
created_at: { type: 'date' },
Expand All @@ -170,8 +170,8 @@ const savedObjectTypes: { [key: string]: SavedObjectsType } = {
is_default: { type: 'boolean' },
hosts: { type: 'keyword' },
ca_sha256: { type: 'keyword', index: false },
fleet_enroll_username: { type: 'binary', index: false },
fleet_enroll_password: { type: 'binary', index: false },
fleet_enroll_username: { type: 'binary' },
fleet_enroll_password: { type: 'binary' },
config: { type: 'flattened' },
},
},
Expand Down

0 comments on commit b3c6ce9

Please sign in to comment.