[wp-trac] [WordPress Trac] #7394: Search: order results by relevance

WordPress Trac noreply at wordpress.org
Thu Oct 18 01:54:48 UTC 2012


#7394: Search: order results by relevance
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  General                              |  Release
 Severity:  normal                               |     Version:  2.6
 Keywords:  has-patch needs-refresh needs-unit-  |  Resolution:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by nacin):

 Per [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2012-10-17&sort=asc#m476399 IRC discussion]:

  * apply_filters() instead of apply_filters_ref_array().

  * Split word cleaning (removal of short words, etc) into a separate
 patch. This should be considered separately. That probably means we can
 continue to use _search_terms_tidy() instead of _check_search_terms().

 There remain three distinct concerns:

 1. Plugin compatibility: Does this have the potential to break plugins?

 2. Performance: This worked well on WP.com, but they use SSDs, query
 caching, and have mostly vanilla use cases (ties back into plugin
 compatibility). Does this cause problems under strain?

 3. Results: Does this result in bad search results on occasion by
 promoting the wrong things to the top? One example could include P2 auto
 titles. Yes, there is a filter, but if there are concerns that were raised
 by WP.com developers, I'd like to work them out here.

 Overall, not looking likely for 3.5. This is something that needs further
 review and needs to land early. Also, unit tests...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7394#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list