Skip to content

Commit

Permalink
add missing fields to elastic mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspill committed Jan 8, 2019
1 parent cbd0706 commit d068cff
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
40 changes: 40 additions & 0 deletions datastore/mappings/oip041.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,52 @@
"properties": {
"artifact": {
"properties": {
"signature": {
"type": "text",
"index": false
},
"floAddress": {
"type": "keyword",
"ignore_above": 36
},
"info": {
"properties": {
"attrs": {
"type": "text",
"index": false
},
"tags": {
"type": "text",
"index": false
},
"geometry": {
"type": "object",
"enabled": false
},
"ns": {
"type": "keyword"
},
"members": {
"type": "keyword"
},
"partyRole": {
"type": "keyword"
},
"party": {
"type": "keyword"
},
"spatialType": {
"type": "keyword"
},
"tenureType": {
"type": "keyword"
},
"spatialUnit": {
"type": "keyword"
},
"partyType": {
"type": "keyword"
},
"description": {
"type": "text",
"fields": {
Expand Down
7 changes: 7 additions & 0 deletions datastore/mappings/oip042_artifact.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,16 @@
"type": "keyword",
"ignore_above": 256
},
"fName": {
"type": "keyword",
"ignore_above": 256
},
"fsize": {
"type": "long"
},
"fSize": {
"type": "long"
},
"software": {
"type": "keyword",
"ignore_above": 256
Expand Down

0 comments on commit d068cff

Please sign in to comment.