Openport

150 оголошень

AMP
Фільтри

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

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

14 помилк. · 251.6 ms · SQL 7 (0.3 ms) · ES 1 (238 ms) · PHP 8.5.12 · 0.6 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: всього 150, id на сторінці: 50 · знайдено в БД: 0 ← не знайдено в БД (немає в posts, status ≠ active або помилка SQL): 191650042, 210807022, 211065970, 210164822, 199450492, 188021112, 168697783, 204455063, 201632897, 184111365

Elasticsearch

POST /abyhomcom/_search → 200 · 238 ms · знайдено 150, повернуто 50
тіло запиту
{
    "query": {
        "bool": {
            "must": [
                {
                    "multi_match": {
                        "query": "openport",
                        "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.27 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) [191650042,210807022,211065970,210164822,199450492,188021112,168697783,204455063,201632897,184111365,176104596,173118349,170692597,203723048,214499988,209759378,194861264,182353108,173805208,216991339,197403758,168741889,174861772,210808100,188004849,193903187,199338469,200638069,180724450,210088358,176104623,209695826,198057319,181322527,194070224,185374362,201540629,198770998,206838275,194524163,194070281,198658363,211302420,210532937,207068245,178137072,202891591,208333252,187738341,195965519] · 0.01 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,117,125,120,119,135,6156,129,134,137,138,139,2101,2107,2218,116,121,122,126,128,133,2133,2181,2221,2485,3084,3085,3126,3198] · 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.01 ms
SQLSTATE[HY000] [2002] Connection refused