Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#17139 closed enhancement

Multiple keyword search: intersection instead of union — at Initial Version

Reported by: scribu Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Query Keywords:
Focuses: Cc:


When you search for more than one word, the SQL LIKEs are ORed together.

They should be ANDed together, so that the more words you add, the fewer, and more relevant, results you get.

Alternatively, all previous results could be returned, but ordered by relevance: more matching keyword = higher ranking. See #7394

Change History (0)

Note: See TracTickets for help on using tickets.