Opened 2 years ago

Closed 2 years ago

#17139 closed enhancement (invalid)

Multiple keyword search: intersection instead of union

Reported by: scribu Owned by:
Priority: normal Milestone:
Component: Query Version:
Severity: normal Keywords:
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 (2)

  • Description modified (diff)
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

Nevermind, the 'OR' is between post_title and post_content, not between clauses.

Note: See TracTickets for help on using tickets.