Files
WordPress/wp-includes
Andrew Nacin d7fc6d5d49 Order search results by relevance, rather than by date.
The ordering logic is as follows:
 * Full sentence matches in post titles.
 * All search terms in post titles.
 * Any search terms in post titles.
 * Full sentence matches in post content.

Each section and any remaining posts are then sorted by date.

Introduces some filters:
 * wp_search_stopwords, to filter stop words ignored in WHERE.
 * posts_search_orderby, to filter the ORDER BY when ordering search results.

props azaozz, wonderboymusic.
fixes #7394.

Built from https://develop.svn.wordpress.org/trunk@25632


git-svn-id: http://core.svn.wordpress.org/trunk@25549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-27 17:34:09 +00:00
..
2013-07-13 00:37:36 +00:00
2012-11-17 15:11:29 +00:00
2013-08-22 15:56:08 +00:00
2013-08-27 16:39:09 +00:00
2013-09-24 19:05:10 +00:00
2013-07-24 06:08:14 +00:00
2013-09-06 17:19:09 +00:00
2013-09-23 02:08:10 +00:00