fix(elasticsearch): Fix inconsistencies between documents and elasticsearch mappings (#2356)

This commit is contained in:
Dexter Lee 2021-04-07 14:59:43 -07:00 committed by GitHub
parent 518de354d9
commit 1c6f1d7a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

View File

@ -48,6 +48,10 @@
"urn": { "urn": {
"type": "keyword", "type": "keyword",
"normalizer": "custom_normalizer" "normalizer": "custom_normalizer"
},
"emails": {
"type": "keyword",
"normalizer": "custom_normalizer"
} }
} }
} }

View File

@ -27,10 +27,10 @@
"name": { "name": {
"type": "keyword" "type": "keyword"
}, },
"num_inputs": { "numInputDatasets": {
"type": "long" "type": "long"
}, },
"num_outputs": { "numOutputDatasets": {
"type": "long" "type": "long"
}, },
"owners": { "owners": {

View File

@ -49,6 +49,14 @@
}, },
"normalizer": "my_normalizer" "normalizer": "my_normalizer"
}, },
"description": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"owners": { "owners": {
"type": "keyword", "type": "keyword",
"normalizer": "my_normalizer" "normalizer": "my_normalizer"