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"
},
"name": {
"type": "text",
"analyzer": "om_analyzer"
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"fullyQualifiedName": {
"type": "text"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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