Page MenuHomePhabricator

Use ApplicationTransactions/CustomField to power Differential global search
ClosedPublic

Authored by epriestley on Feb 26 2014, 12:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 5:01 PM
Unknown Object (File)
Wed, Dec 11, 11:32 PM
Unknown Object (File)
Wed, Dec 11, 8:07 PM
Unknown Object (File)
Mon, Dec 9, 3:34 PM
Unknown Object (File)
Sun, Dec 8, 8:18 AM
Unknown Object (File)
Tue, Dec 3, 6:18 PM
Unknown Object (File)
Fri, Nov 29, 7:39 PM
Unknown Object (File)
Fri, Nov 29, 1:58 AM
Subscribers

Details

Summary

Ref T2222. Ref T3886. Ref T418. A few changes:

  • CustomField can now index into global search.
  • Use CustomField fields instead of older custom fields for Differential global search. (This slightly breaks any custom fields which exist, but they are presumably very rare, and probably do not exist; this break is also very mild.)
  • Automatically perform CustomField and Subscribable indexing on applicable object types.
Test Plan

Used bin/search index to reindex a bunch of stuff, then searched for it. Debug-dumped abstract documents to inspect them.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/maniphest/search/ManiphestSearchIndexer.php
84

<3 these deletions