Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#17139 closed enhancement

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

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

Description (last modified by scribu)

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 keywords = higher ranking. See #7394

Change History (1)

#1 @scribu
7 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.