Fix Japanese language indexing (#11903)

This commit is contained in:
Sriharsha Chintalapani 2023-06-06 22:22:55 -07:00 committed by GitHub
parent f23f67dfe9
commit 4ecbbcd43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 4 deletions

View File

@ -165,10 +165,15 @@
},
"displayName": {
"type": "text",
"analyzer": "om_analyzer_jp",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"ngram": {
"type": "text",
"analyzer": "om_ngram"
}
}
},

View File

@ -155,7 +155,14 @@
"type": "text"
},
"description": {
"type": "text"
"type": "text",
"analyzer": "om_analyzer_jp",
"fields": {
"ngram": {
"type": "text",
"analyzer": "om_ngram"
}
}
},
"deleted": {
"type": "text"

View File

@ -222,11 +222,16 @@
}
},
"displayName": {
"type": "keyword",
"type": "text",
"analyzer": "om_analyzer_jp",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"ngram": {
"type": "text",
"analyzer": "om_ngram"
}
}
},
@ -234,7 +239,14 @@
"type": "text"
},
"description": {
"type": "text"
"type": "text",
"analyzer": "om_analyzer_jp",
"fields": {
"ngram": {
"type": "text",
"analyzer": "om_ngram"
}
}
},
"deleted": {
"type": "text"

View File

@ -68,7 +68,7 @@
"type": "text"
},
"displayName": {
"type": "keyword",
"type": "text",
"analyzer": "om_analyzer",
"fields": {
"keyword": {