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

WordPress Trac noreply at wordpress.org
Tue Sep 24 16:45:30 UTC 2013


#7394: Search: order results by relevance
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  3.7
Component:  General                              |     Version:  2.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 3.7-early    |
  needs-refresh                                  |
-------------------------------------------------+-------------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing 3.7-early => has-patch needs-testing
     3.7-early needs-refresh


Comment:

 This is purely architecture. It's not a candidate for a feature plugin.

 This patch needs a refresh. On two fronts:
  * The way it integrates into WP_Query is quite messy. We should try to
 keep this constrained to its own method (or multiple methods).
  * We should consider dropping stopword support. Yes, it can cause the
 query to grow more complicated, but it's also in no way truly localizable.
 This is way too much of a burden on translators, and even in English, it's
 fraught with issues. It would be *far* easier to implement such a major
 change if we avoided stopwords entirely for now.

 Also, this could strongly benefit from some basic unit tests.

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


More information about the wp-trac mailing list