1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/infrastructure/events
epriestley da50aef7f2 Add event dispatch for updated search indexes
Summary:
See discussion in D6955. Provide an event for applications and users to update secondary search indexes.

Facebook: I don't recall exactly how all the search stuff is rigged up, but this might provide a more practical / less fragile alternative. I think it publishes into ElasticSearch now, and then intern somehow handles the result merge at display time, implictly relying on Phabricator's storage format? A cleaner approach might be to publish a secondary "intern" index in a standard format.

Test Plan: Ran `bin/search index --type proj --trace`, saw events fire.

Reviewers: btrahan

Reviewed By: btrahan

CC: FacebookPOC, aran

Differential Revision: https://secure.phabricator.com/D6956
2013-09-12 13:05:54 -07:00
..
constant Add event dispatch for updated search indexes 2013-09-12 13:05:54 -07:00
PhabricatorEvent.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorEventEngine.php Log and continue when trying to register an invalid event listener 2013-08-14 19:14:16 -07:00
PhabricatorExampleEventListener.php Delete license headers from files 2012-11-05 11:16:51 -08:00