такой мапинг
{
"state": "open",
"settings": {
"index": {
"creation_date": "1463004182797",
"analysis": {
"filter": {
"text": {
"name": "english",
"type": "stemmer"
}
},
"analyzer": {
"text": {
"filter": [
"stop",
"lowercase",
"snowball",
"text"
],
"tokenizer": "standard"
}
}
},
"number_of_shards": "5",
"number_of_replicas": "0",
"uuid": "eqR4_wrJSgCVjVtcmIWlwA",
"version": {
"created": "5000002"
}
}
},
"mappings": {
"devpost": {
"properties": {
"college": {
"type": "keyword"
},
"date": {
"type": "date"
},
"owner": {
"type": "keyword"
},
"privacy": {
"type": "integer"
},
"isVisible": {
"type": "boolean"
},
"hot": {
"type": "integer"
},
"title": {
"analyzer": "text",
"type": "text"
}
}
}
},
"aliases": [],
"primary_terms": {
"0": 1,
"1": 1,
"2": 1,
"3": 1,
"4": 1
},
"active_allocations": {
"0": [
"Q0IiP36zRsCCwcp0cfD_Vg"
],
"1": [
"fA-X-whgTPurBoArYLh8Yw"
],
"2": [
"yybghiToT0C-Xe4EGpo9mA"
],
"3": [
"q-_2zpzFSoyKZXombSAIAQ"
],
"4": [
"ak8T1BH8Q4uDKrAsy5BTGg"
]
}
}
делаю поиск "hi" по полю title
и у меня находит запись со словами "his car"
можете подсказать как правильно настроить analyzer и filters