Page MenuHomePhabricator

Sort global fulltext results by overall relevance
ClosedPublic

Authored by epriestley on Sep 7 2017, 4:13 PM.
Tags
None
Referenced Files
F15572830: D18551.diff
Mon, May 5, 5:56 PM
F15564327: D18551.id44558.diff
Wed, Apr 30, 11:35 AM
F15554154: D18551.id44587.diff
Mon, Apr 28, 5:43 AM
F15539517: D18551.id.diff
Fri, Apr 25, 2:00 AM
F15535516: D18551.diff
Thu, Apr 24, 5:32 AM
F15523551: D18551.diff
Mon, Apr 21, 2:07 AM
F15478870: D18551.diff
Tue, Apr 8, 3:30 AM
F15478847: D18551.diff
Tue, Apr 8, 3:15 AM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
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.