Motor

15 418 оголошень

AMP
Фільтри

Нічого не знайдено

Спробуйте змінити фільтри або скинути їх.

14 помилк. · 198 ms · SQL 7 (0.2 ms) · ES 1 (193.5 ms) · PHP 8.5.12 · 0.7 MB

Помилки

DB (SHOW TABLES) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (posts) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (categories) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (region parent) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (regions) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (cities by id) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29
DB (regions) PDOException: SQLSTATE[HY000] [2002] Connection refused
/sites/test.abyhom.com/src/Support/Db.php:29

Нотатки

Маршрут: категорія —, місто — · ES: всього 15418, id на сторінці: 50 · знайдено в БД: 0 ← не знайдено в БД (немає в posts, status ≠ active або помилка SQL): 215526879, 208419745, 204837245, 189002973, 218288974, 215742350, 214133754, 213567537, 211569369, 211516545

Elasticsearch

POST /abyhomcom/_search → 200 · 193.5 ms · знайдено 15418, повернуто 50
тіло запиту
{
    "query": {
        "bool": {
            "must": [
                {
                    "multi_match": {
                        "query": "motor",
                        "fields": [
                            "name^3",
                            "description",
                            "city^2"
                        ],
                        "type": "best_fields",
                        "operator": "and",
                        "fuzziness": "AUTO",
                        "prefix_length": 2
                    }
                }
            ]
        }
    },
    "sort": [
        "_score",
        {
            "data_post": {
                "order": "desc"
            }
        }
    ],
    "from": 0,
    "size": 50,
    "_source": [
        "id",
        "m2",
        "km",
        "price2",
        "attribute"
    ],
    "track_total_hits": true,
    "aggs": {
        "cities": {
            "terms": {
                "field": "city_id",
                "size": 30
            }
        },
        "cats": {
            "terms": {
                "field": "category_id",
                "size": 2000
            }
        }
    }
}

SQL

SHOW TABLES · 0.2 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT 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) [215526879,208419745,204837245,189002973,218288974,215742350,214133754,213567537,211569369,211516545,210199799,209922215,208885648,208281562,208186207,207931618,207895432,207781327,207304543,206852253,206113637,204173973,202183216,197862359,197005654,194103377,192955846,189429135,188117241,187021146,185992653,183245097,180750889,178812769,178555444,175174360,172884766,169766818,168050959,207513241,183214338,217993036,219068282,217875232,216084982,215528214,214604895,214464969,213856713,213714870] · 0 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT c.* FROM `category` c ORDER BY c.id · 0 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT c.id FROM `city` c WHERE c.parent_id = 0 LIMIT 2 · 0 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT 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 [0] · 0 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT 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.id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [115,127,125,135,117,6574,124,116,129,139,121,133,3181,137,120,119,2124,134,122,128,138,126,2101,2165,140,2107,2181,132,2163,2167] · 0 ms
SQLSTATE[HY000] [2002] Connection refused
SELECT 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 [0] · 0 ms
SQLSTATE[HY000] [2002] Connection refused