[wp-trac] [WordPress Trac] #7394: Search: order results by relevance
WordPress Trac
noreply at wordpress.org
Sat Sep 28 05:09:24 UTC 2013
#7394: Search: order results by relevance
------------------------------+-----------------------
Reporter: markjaquith | Owner: nacin
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.7
Component: General | Version: 2.6
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by azaozz):
Sorry for the late feedback. Yes, the `posts_search_orderby_on` filter
could only limit fields we look at when sorting by relevance. As we only
look at post_title and post_content, that's not very useful. It was added
to cover some border cases. For example if a site doesn't have post
titles, or uses something like the P2 theme where titles are auto-
generated and not particularly relevant.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7394#comment:74>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list