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
F22518248: D8346.id.diff
Sun, Sep 20, 11:37 AM
Unknown Object (File)
Aug 27 2026, 2:02 AM
Unknown Object (File)
Aug 26 2026, 10:44 AM
Unknown Object (File)
Aug 26 2026, 3:25 AM
Unknown Object (File)
Aug 16 2026, 12:53 AM
Unknown Object (File)
Jul 30 2026, 2:15 AM
Unknown Object (File)
Jul 9 2026, 3:50 PM
Unknown Object (File)
Jul 5 2026, 3:38 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