Page MenuHomePhabricator

Sort global fulltext results by overall relevance

Authored by epriestley on Sep 7 2017, 4:13 PM.
Referenced Files
Unknown Object (File)
Tue, May 30, 9:31 AM
Unknown Object (File)
Mon, May 29, 6:28 PM
Unknown Object (File)
Mon, May 29, 2:52 PM
Unknown Object (File)
Sun, May 28, 6:22 PM
Unknown Object (File)
Thu, May 25, 6:27 AM
Unknown Object (File)
Sat, May 20, 12:46 AM
Unknown Object (File)
Sat, May 13, 9:25 AM
Unknown Object (File)
Apr 27 2023, 7:51 PM



Ref T12819. Currently, under the Ferret engine, we query each application's index separately and then aggregate the results.

At the moment, results are aggregated by type first, then by actual rank. For example, all the revisions appear first, then all the tasks.

Instead, surface the internal ranking data from the underlying query and sort by it.

Test Plan

Searched for "A B" with a task named "A B" and a revision named "A". Saw task first. Broadly, saw mixed task and revision order in result sets.

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 7 2017, 4:36 PM
This revision was automatically updated to reflect the committed changes.