[wp-trac] [WordPress Trac] #19738: meta_query should check for wildcards when using LIKE operator

WordPress Trac noreply at wordpress.org
Sun Nov 23 20:09:28 UTC 2014


#19738: meta_query should check for wildcards when using LIKE operator
-------------------------+-----------------------------
 Reporter:  ejdanderson  |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Future Release
Component:  Query        |     Version:  3.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------

Comment (by boonebgorges):

 Will - Yes to everything you've said here. `WP_Meta_Query` is provided for
 convenience, not a recommendation :) I'm happy for WP to take whatever
 steps are reasonable and necessary to make meta queries perform better,
 but in the end, we're pretty much hamstrung by the database schema. People
 who need super high performance queries on a very large dataset should
 either use WP's taxonomies or roll their own system, like you've done.
 Thanks for the feedback :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19738#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list