1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-13 23:38:34 +01:00
phorge-phorge/src/applications/search
epriestley 4eab3c4c8d Reindex dashboards and panels (allow migrations to queue a job to queue other indexing jobs)
Summary:
Depends on D20411. Ref T13272. Dashboards and panels have new indexes (Ferret and usage edges) that need a rebuild.

For large datasets like commits we have the "activity" flow in T11932, but realistically these rebuilds won't take more than a few minutes on any realistic install so we should be able to just queue them up as migrations.

Let migrations insert a job to basically run `bin/search index --type SomeObjectType`, then do that for dashboards and panels.

(I'll do Herald rules in a followup too, but I want to tweak one indexing thing there.)

Test Plan: Ran the migration, ran `bin/phd debug task`, saw everything get indexed with no manual intervention.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20412
2019-04-17 12:05:49 -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 Move Dashboards main edit flow to EditEngine 2019-04-12 06:15:15 -07:00
edge On panel pages, show where panels are used 2019-04-12 06:14:21 -07:00
editor Index and surface usage sites for Dashboards 2019-04-12 06:13:44 -07:00
engine Make "Favorites" work more like other customizable menus 2019-04-09 13:59:35 -07:00
engineextension Index and surface usage sites for Dashboards 2019-04-12 06:13:44 -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 Allow the Ferret engine to remove "common" ngrams from the index 2017-10-03 13:27:42 -07:00
field Make DiffusionCommitSearch accept modern (string) constants 2018-09-10 16:25:42 -07:00
fulltextstorage Fix some minor errors (DarkConsole warning, unstable Ferret sort) 2018-03-18 15:12:25 -07:00
garbagecollector Add a garbage collector for common ngrams 2017-10-05 11:41:18 -07:00
index When waiting for long-running Harbormaster futures to resolve, close idle database connections 2018-11-21 07:53:40 -08:00
interface Extend "fulltext" and "ngrams" interfaces from "indexable" interface 2017-04-17 12:59:41 -07:00
management Track how many columns use a particular trigger 2019-03-25 14:04:55 -07:00
menuitem Convert dashboard read/display pathways to the new panel storage format 2019-04-14 10:23:42 -07:00
ngrams When waiting for long-running Harbormaster futures to resolve, close idle database connections 2018-11-21 07:53:40 -08:00
phidtype Rename "ProfilePanelConfiguration" to "ProfileMenuItemConfiguration" 2016-12-11 11:44:22 -08:00
query Index and surface usage sites for Dashboards 2019-04-12 06:13:44 -07:00
relationship Render parent and child tasks in Maniphest with a graph trace 2016-07-01 10:41:07 -07:00
storage Index and surface usage sites for Dashboards 2019-04-12 06:13:44 -07:00
typeahead Rename "QuickSearch" Engine/EngineExtension to "Datasource" 2018-02-14 18:03:03 -08:00
view Add "Contact Numbers" so we can send users SMS mesages 2019-01-23 13:39:56 -08:00
worker Reindex dashboards and panels (allow migrations to queue a job to queue other indexing jobs) 2019-04-17 12:05:49 -07:00