Home › Forums › Front-end Issues › Query: Multiple Checkbox Values (with LIKE) Crash › Reply To: Query: Multiple Checkbox Values (with LIKE) Crash
There isn’t any way to optimize this query, the only hope you have is to optimize the data…. that is store it in a way that does not require all of the LIKE matches on un-indexed columns of the database. This can be done the same way that I explain for repeaters here https://acfextras.com/dont-query-repeaters/
Beyond this, pre-indexing search results, which is too complex to go into here, this is how most search plugins speed up searching.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.