Issues with the backend search
-
Hey,
I’ve implemented the plugin on a website with a huge database and it performs amazing in the frontend. However, there’s something wrong in the backend searches. I’ve used a debug plugin to monitor what’s going on and here’s the results:
Method: POST
Query Body:
{
“from”: 0,
“size”: 20,
“sort”: [
{
“post_date”: {
“order”: “desc”
}
}
],
“query”: {
“match_all”: []
},
“filter”: {
“and”: [
{
“term”: {
“post_type.raw”: “shop_order”
}
},
{
“terms”: {
“post_status”: {
“0”: “publish”,
“1”: “future”,
“2”: “draft”,
“3”: “pending”,
“4”: “private”,
“6”: “inherit”,
“7”: “in-progress”,
“8”: “failed”,
“9”: “wc-pending”,
“10”: “wc-processing”,
“11”: “wc-on-hold”,
“12”: “wc-completed”,
“13”: “wc-cancelled”,
“14”: “wc-refunded”,
“15”: “wc-failed”,
“16”: “wc-partialrefund425”,
“17”: “fue-inactive”,
“18”: “fue-active”,
“19”: “fue-archived”
}
}
}
]
}
}Query Response Code: HTTP 400
Any idea why it behaves this way?
- The topic ‘Issues with the backend search’ is closed to new replies.