"_source": {
"suggestion_id": "35_8_14",
"suggestion_headerText": "İzmir kiralık Konut",
"suggestion_hierarchy": "İzmir > kiralık > Konut",
"suggestion_detailUrl": "?city=35&category=8",
"suggestion_webUrl": "/satilik/izmir",
"suggestion_locationOrder": 1,
"suggestion_categoryOrder": "1",
"suggestion_kindOrder": "1"
},
"_source":{
"suggestion_id": "482_35_8_15",
"suggestion_headerText": "Kiraz Kiralık Konut",
"suggestion_hierarchy": "İzmir > Kiraz > Kiralık > Konut",
"suggestion_detailUrl": "?town=482&city=35&category=8",
"suggestion_webUrl": "/kiralik/izmir-kiraz",
"suggestion_locationOrder": 1482,
"suggestion_categoryOrder": 1,
"suggestion_kindOrder": 2
}
GET /db/suggestions/_search
{
"query": {
"bool": {
"must": [
{
"match": {
"suggestion_hierarchy": "izmir kiralık"
}
}
]
}
},
"sort": [
"_score",
{
"suggestion_locationOrder": {
"order": "asc"
}
},
{
"suggestion_kindOrder": {
"order": "asc"
}
},
{
"suggestion_kindOrder": {
"order": "asc"
}
}
],
"size": 5
}
first my analyzer is edge_ngram , i want to see first "İzmir > kiralık > Konut" document but i cant because of score "kir" in "kiraz" and "kiralık" i dont want to override score im using it how can i prevent multiple ngram match's to the score