优化人均消费bug
This commit is contained in:
@@ -26,16 +26,29 @@ def find_around_price(lng, lat):
|
||||
ret_es = es206_client.elastic_client.search({
|
||||
"query": {
|
||||
"bool": {
|
||||
"must": [
|
||||
{
|
||||
"filter": [
|
||||
{
|
||||
"term": {
|
||||
"status": {
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
},
|
||||
{
|
||||
"range": {
|
||||
"price": {
|
||||
"gt": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"terms": {
|
||||
"tag": [
|
||||
"美食;中餐厅",
|
||||
"美食;外国餐厅"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"geo_distance": {
|
||||
"distance": 1000,
|
||||
|
||||
Reference in New Issue
Block a user