Minor fix Search service (#14837)

* Minor fix

* fix minor search fixes
This commit is contained in:
07Himank 2024-01-25 18:17:48 +05:30 committed by GitHub
parent ffe4ed1ab4
commit cb7db8ce8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 250 additions and 247 deletions

View File

@ -17,6 +17,14 @@
"lowercase",
"om_stemmer"
]
},
"om_ngram": {
"tokenizer": "ngram",
"min_gram": 3,
"max_gram": 10,
"filter": [
"lowercase"
]
}
},
"filter": {
@ -57,10 +65,6 @@
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"ngram": {
"type": "text",
"analyzer": "om_ngram"
}
}
},

View File

@ -115,8 +115,7 @@
"type": "text"
},
"description": {
"type": "text",
"type": "text"
},
"deleted": {
"type": "text"