Page MenuHomePhabricator

Sort global fulltext results by overall relevance
ClosedPublic

Authored by epriestley on Sep 7 2017, 4:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 26, 8:58 AM
Unknown Object (File)
Sat, Mar 16, 9:53 AM
Unknown Object (File)
Fri, Mar 15, 1:51 PM
Unknown Object (File)
Fri, Mar 1, 3:06 AM
Unknown Object (File)
Feb 25 2024, 1:16 PM
Unknown Object (File)
Feb 25 2024, 10:42 AM
Unknown Object (File)
Feb 21 2024, 10:34 AM
Unknown Object (File)
Feb 18 2024, 6:08 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.