11 500 $
Ford Fusion
291 000 км 506000.0
Бориспіль
Знайдено 119 оголошень
{
"query": {
"bool": {
"must": [
{
"multi_match": {
"query": "ford fusion",
"fields": [
"name^3",
"description",
"city^2"
],
"type": "best_fields",
"operator": "and",
"fuzziness": "AUTO",
"prefix_length": 2
}
}
],
"filter": [
{
"term": {
"city_id": 2166
}
}
]
}
},
"sort": [
"_score",
{
"data_post": {
"order": "desc"
}
}
],
"from": 0,
"size": 50,
"_source": [
"id",
"m2",
"km",
"price2",
"attribute"
],
"track_total_hits": true,
"aggs": {
"cats": {
"terms": {
"field": "category_id",
"size": 2000
}
}
}
}SELECT c.* FROM `category` c ORDER BY c.id · 3.84 msSELECT c.id, c.parent_id, c.url AS slug, COALESCE(NULLIF(c.name_ua, ''), NULLIF(c.name, '')) AS name, NULL AS name_loc FROM `city` c WHERE c.url IN (?, ?, ?, ?) LIMIT 1 ["borispol","\/borispol","borispol\/","\/borispol\/"] · 0.45 msSELECT c.id FROM `city` c WHERE c.parent_id = 0 LIMIT 2 · 0.27 msSHOW TABLES · 0.42 msSELECT p.id, p.category_id, p.city_id, p.region AS region_id, p.vendor AS vendor_id, p.name, p.description, p.name AS name_orig, p.price, p.currency, p.bargain, p.conditions, p.url, p.img, p.view AS views, p.data_post, p.data_edit, COALESCE(NULLIF(c.name_ua, ''), NULLIF(c.name, '')) AS city_name, c.url AS city_slug FROM `post` p LEFT JOIN `city` c ON c.id = p.city_id WHERE p.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND (1=1) [214123126,214121214,212609595,211293345,210696456,209117296,208836925,208530943,208029208,205942778,204940964,204807470,203021350,202528619,200997547,199465987,198642091,198357362,198206621,195437780,194111585,193536610,193137578,192325699,190937970,189766542,188399952,188144433,188017659,187033266,184844284,184474737,184207086,183443733,182962269,182597011,182594731,181259854,178276809,175724890,174373366,171826591,171803314,171605158,171453589,170964841,169382107,168352165,168205960,208851163] · 67.75 msSELECT v.post_id, v.attribute_id, v.value, COALESCE(NULLIF(a.name_ua, ''), NULLIF(a.name, '')) AS name FROM `attribute_value` v JOIN `attribute` a ON a.id = v.attribute_id WHERE v.post_id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) AND v.value IS NOT NULL AND v.value <> '' ORDER BY a.id [168205960,168352165,169382107,170964841,171453589,171605158,171803314,171826591,174373366,175724890,178276809,181259854,182594731,182597011,182962269,183443733,184207086,184474737,184844284,187033266,188017659,188144433,188399952,189766542,190937970,192325699,193137578,193536610,194111585,195437780,198206621,198357362,198642091,199465987,200997547,202528619,203021350,204807470,204940964,205942778,208029208,208530943,208836925,208851163,209117296,210696456,211293345,212609595,214121214,214123126] · 5.68 msSELECT c.id, c.parent_id, c.url AS slug, COALESCE(NULLIF(c.name_ua, ''), NULLIF(c.name, '')) AS name, NULL AS name_loc FROM `city` c WHERE c.parent_id = ? LIMIT 3000 [5] · 0.63 ms