Fix column name indexes (#8990)

This commit is contained in:
Sriharsha Chintalapani 2022-11-23 19:08:44 -08:00 committed by GitHub
parent 285e7dc1e7
commit 95f0f4d9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 63 additions and 18 deletions

View File

@ -100,8 +100,13 @@ DASHBOARD_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"type": "text" "type": "text"
}, },
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"fullyQualifiedName": { "fullyQualifiedName": {
"type": "text" "type": "text"

View File

@ -89,8 +89,13 @@ MLMODEL_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"mlFeatures": { "mlFeatures": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"dataType": { "dataType": {
"type": "text" "type": "text"
@ -117,8 +122,13 @@ MLMODEL_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"mlHyperParameters": { "mlHyperParameters": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "simple" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"value": { "value": {
"type": "text" "type": "text"

View File

@ -88,8 +88,13 @@ PIPELINE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"tasks": { "tasks": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"displayName": { "displayName": {
"type": "text", "type": "text",

View File

@ -88,8 +88,13 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent(
"columns": { "columns": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"dataType": { "dataType": {
"type": "text" "type": "text"

View File

@ -84,8 +84,13 @@
"type": "text" "type": "text"
}, },
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"fullyQualifiedName": { "fullyQualifiedName": {
"type": "text" "type": "text"

View File

@ -72,8 +72,13 @@
"mlFeatures": { "mlFeatures": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"dataType": { "dataType": {
"type": "text" "type": "text"

View File

@ -72,8 +72,13 @@
"tasks": { "tasks": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"displayName": { "displayName": {
"type": "text", "type": "text",

View File

@ -71,8 +71,13 @@
"columns": { "columns": {
"properties": { "properties": {
"name": { "name": {
"type": "text", "type": "keyword",
"analyzer": "om_analyzer" "fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"dataType": { "dataType": {
"type": "text" "type": "text"