Skip to content

Commit

Permalink
mappings: refactor from object to nested
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Panero committed Oct 30, 2019
1 parent bfb975d commit 21af85c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions invenio_rdm_records/mappings/v6/records/record-v1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"type": "keyword"
},
"additional_descriptions": {
"type": "object",
"type": "nested",
"properties": {
"description": {
"type": "text"
Expand All @@ -36,7 +36,7 @@
}
},
"additional_titles": {
"type": "object",
"type": "nested",
"properties": {
"title": {
"type": "text",
Expand Down Expand Up @@ -122,7 +122,7 @@
"type": "keyword"
},
"resource_type": {
"type": "object",
"type": "nested",
"properties": {
"type": {
"type": "keyword"
Expand All @@ -133,7 +133,7 @@
}
},
"rights": {
"type": "object",
"type": "nested",
"properties": {
"rights": {
"type": "text"
Expand Down
8 changes: 4 additions & 4 deletions invenio_rdm_records/mappings/v7/records/record-v1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "keyword"
},
"additional_descriptions": {
"type": "object",
"type": "nested",
"properties": {
"description": {
"type": "text"
Expand All @@ -35,7 +35,7 @@
}
},
"additional_titles": {
"type": "object",
"type": "nested",
"properties": {
"title": {
"type": "text",
Expand Down Expand Up @@ -121,7 +121,7 @@
"type": "keyword"
},
"resource_type": {
"type": "object",
"type": "nested",
"properties": {
"type": {
"type": "keyword"
Expand All @@ -132,7 +132,7 @@
}
},
"rights": {
"type": "object",
"type": "nested",
"properties": {
"rights": {
"type": "text"
Expand Down

0 comments on commit 21af85c

Please sign in to comment.