1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 04:59:06 +01:00
phorge-phorge/src/applications/differential/query
epriestley a2a2b3f7f4 Sort global fulltext results by overall relevance
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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18551
2017-09-07 13:21:58 -07:00
..
DifferentialChangesetQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
DifferentialDiffInlineCommentQuery.php Extend TransactionCommentQuery for Differential 2015-03-09 14:11:20 -07:00
DifferentialDiffQuery.php When updating revisions in response to commits, reuse previously generated diffs 2017-01-09 12:13:44 -08:00
DifferentialDiffTransactionQuery.php Add "Autoplans" to Harbormaster 2015-06-21 09:04:21 -07:00
DifferentialHunkQuery.php Remove most of the legacy hunk code 2016-12-13 14:34:36 -08:00
DifferentialInlineCommentQuery.php Convert some loadPreferences() to getUserSetting() 2016-06-02 06:29:20 -07:00
DifferentialRepositoryLookup.php Remove arcanist projects from differential 2015-05-19 00:36:52 +10:00
DifferentialRevisionQuery.php Sort global fulltext results by overall relevance 2017-09-07 13:21:58 -07:00
DifferentialRevisionRequiredActionResultBucket.php Use modern revision statuses when bucketing revisions on the Differential dashboard 2017-08-11 17:21:27 -07:00
DifferentialRevisionResultBucket.php Reduce callsites to "ArcanistDifferentialRevisionStatus" in Phabricator 2017-08-09 11:04:52 -07:00
DifferentialRevisionSearchEngine.php Replace legacy Differential queries for "open" revisions with a modern mechanism 2017-08-11 13:37:11 -07:00
DifferentialTransactionQuery.php Extend TransactionCommentQuery for Differential 2015-03-09 14:11:20 -07:00