Timeline for meta query multiple values for the same key
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 12, 2019 at 4:26 | comment | added | nmr | Slow meta query with multi meta keys | |
Jun 12, 2019 at 0:08 | comment | added | user169734 | so what's a possible solution to this? how can I query for more than 4 terms without going that slow? | |
Jun 11, 2019 at 21:17 | comment | added | nmr |
IN looks for the exact match. The meta query is expensive, especially when using LIKE , that's why it's slow.
|
|
Jun 11, 2019 at 19:21 | comment | added | user169734 | thanks for helping: while the IN query does not return any results (maybe IN operator hasn't %wildcards% for words inside the array?), the first one works just fine as the one I posted but, like mine, if the array is equal or greater than 5 words it takes a lot for the page to load (minutes). | |
Jun 11, 2019 at 12:49 | history | edited | nmr | CC BY-SA 4.0 |
deleted 29 characters in body
|
Jun 11, 2019 at 12:44 | history | answered | nmr | CC BY-SA 4.0 |