[wp-trac] [WordPress Trac] #33988: New param for search in WP Query
WordPress Trac
noreply at wordpress.org
Sun Oct 4 09:05:55 UTC 2015
#33988: New param for search in WP Query
------------------------------+------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: Query | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+------------------
Comment (by akibjorklund):
Thanks for the feedback @boonebgorges! Your version looks good to me.
Only one small thought: If we skip the sentence match in ordering, then
search results with negative terms will have different sorting. Consider
first querying for `foo bar` and then altering that to filter out baz:
`foo bar -baz` – now we present the results quite possibly in different
order and also not in the best possible order of relevance – intuitively
at the very least. But most likely the issue I described is so minor that
it is not worth looking into.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33988#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list