Page MenuHomePhabricator

CirrusSearch: Sorting by anything other than relevance should remove all the rescores and function score queries
Closed, ResolvedPublic

Description

Sorting by anything other than relevance should remove all the rescores and function score queries.


Version: unspecified
Severity: normal

Details

Reference
bz60547

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz60547.
bzimport added a subscriber: Unknown Object (MLST).

Prioritizing low until I see this is a problem. I'm pretty sure Elasticsearch just ignores rescores if you set a sort. Function score probably still costs though.

Change 141622 had a related patch set uploaded by Chad:
Remove rescores when not sorting by relevance

https://gerrit.wikimedia.org/r/141622

Change 141622 merged by jenkins-bot:
Remove rescores when not sorting by relevance

https://gerrit.wikimedia.org/r/141622