Homec4science

Add event dispatch for updated search indexes

Authored by epriestley <git@epriestley.com> on Sep 12 2013, 22:05.

Description

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

Details

Committed
epriestley <git@epriestley.com>Sep 12 2013, 22:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe96201773d42: Index projects in the main search index
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHda50aef7f218: Add event dispatch for updated search indexes (authored by epriestley <git@epriestley.com>).Sep 12 2013, 22:05