1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/src/applications/search
epriestley 8059db894d Use the Ferret engine fulltext document table to drive auxiliary fulltext constraints
Summary:
Ref T12819. I started trying to get individual engines to drive these constraints (e.g., `ManiphestTaskQuery` can do most of the work) but this is a big pain, especially since most engines don't support "any owner" or "no owner", and not everything has an owner, and so on and so on. Going down this path would have meant a huge pile of stub functions everywhere, I think.

Instead, drive these through the main engine using the fulltext document table, which already has everything we need to apply these constraints in a uniform way.

Also tweak some parts of query construction and result ordering.

Test Plan: Searched for documents by author, owner, unowned, any owner, tags, subscribers, fulltext in global search. Got sensible results without any application-specific code.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18550
2017-09-07 13:21:42 -07:00
..
application Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
applicationpanel Fix Search Application Config 2017-07-18 17:44:56 +00:00
buckets Use new Differential bucketing logic on default (non-dashboard) homepage 2016-05-19 15:20:39 -07:00
constants Create a virtual "core" field in the Ferret engine for "title and body together" 2017-09-01 09:40:56 -07:00
controller Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
editor Validate menu item fields (links, projects, dashboards, applications, forms, etc) 2017-01-20 11:58:25 -08:00
engine Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
engineextension Use the Ferret engine fulltext document table to drive auxiliary fulltext constraints 2017-09-07 13:21:42 -07:00
exception Allow administrators to get a list of users who don't have MFA configured 2017-03-15 17:49:01 -07:00
ferret Use the Ferret engine fulltext document table to drive auxiliary fulltext constraints 2017-09-07 13:21:42 -07:00
field Let PhabricatorSearchCheckboxesField survive saved query data with mismatched types 2017-06-23 12:29:47 -07:00
fulltextstorage Use the Ferret engine fulltext document table to drive auxiliary fulltext constraints 2017-09-07 13:21:42 -07:00
index Separate fulltext engine extensions into "enrich" and "index" phases 2017-09-01 09:40:11 -07:00
interface Extend "fulltext" and "ngrams" interfaces from "indexable" interface 2017-04-17 12:59:41 -07:00
management Convert cluster/projects config options to newer modular structure 2017-06-27 12:35:54 -07:00
menuitem Update menu item names for Applications -> Favorites 2017-09-05 19:05:03 -07:00
ngrams Consolidate more Ferret engine code into FerretEngine 2017-09-05 11:57:18 -07:00
phidtype Rename "ProfilePanelConfiguration" to "ProfileMenuItemConfiguration" 2016-12-11 11:44:22 -08:00
query Make the default ApplicationSearch query explicit, not just the first item in the list 2017-08-24 15:21:00 -07:00
relationship Render parent and child tasks in Maniphest with a graph trace 2016-07-01 10:41:07 -07:00
storage Separate saved queries in applications into "personal" and "global" queries 2017-08-24 15:24:34 -07:00
typeahead Added application name to the typeahead results for doc type search 2016-08-25 11:26:49 -04:00
view Allow users to drop .ics files on calendar views to import them 2016-10-18 15:26:44 -07:00
worker Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00