Page MenuHomePhabricator

Sort global fulltext results by overall relevance
ClosedPublic

Authored by epriestley on Sep 7 2017, 4:13 PM.
Tags
None
Referenced Files
F15478870: D18551.diff
Tue, Apr 8, 3:30 AM
F15478847: D18551.diff
Tue, Apr 8, 3:15 AM
F15445304: D18551.id44558.diff
Thu, Mar 27, 1:22 PM
F15441383: D18551.diff
Wed, Mar 26, 5:54 PM
F15439099: D18551.id44587.diff
Wed, Mar 26, 5:44 AM
F15434273: D18551.id.diff
Tue, Mar 25, 2:50 AM
F15431972: D18551.id.diff
Mon, Mar 24, 3:37 PM
F15413026: D18551.id.diff
Wed, Mar 19, 4:29 PM
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.