POST /index_name/_search
{
"from": 0,
"size": 100,
"query": {
"bool": {
"should": [
{
"match": {
"shop_name": "麦吉之源"
}
},
{
"match": {
"hotel_name": "麦吉之源"
}
}
]
}
}
}
query result:
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 28,
"max_score": 25.113892,
"hits": [
{
"_index": "index_name",
"_type": "food",
"_id": "25795",
"_score": 25.113892,
"_source": {
"sourceID": 729854,
"dataID": 25795,
"shop_name": "麦吉之源",
"city": "茂县"
}
},
........
{
"_index": "index_name",
"_type": "hotel",
"_id": "1",
"_score": 0.56727815,
"_source": {
"sourceID": 733686,
"dataID": 1,
"hotel_name": "麦吉之源",
"city": "茂县"
}
}
]
}
}
this _score why such a big difference ?