1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src/applications/search
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
..
application Allow named queries to be reordered by dragging 2013-06-05 16:22:27 -07:00
config Search options. 2013-01-11 15:28:19 -08:00
constants Remove legacy "touched" table and indexing 2013-09-12 13:04:09 -07:00
controller Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
engine Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
index Add event dispatch for updated search indexes 2013-09-12 13:05:54 -07:00
interface Provide PhabricatorSavedQuery to renderResultsList() 2013-07-03 05:46:04 -07:00
management Index projects in the main search index 2013-09-12 13:05:19 -07:00
query Introduce PhabricatorSavedQueryQuery 2013-05-27 13:41:20 -07:00
selector Delete license headers from files 2012-11-05 11:16:51 -08:00
storage Allow named queries to be reordered by dragging 2013-06-05 16:22:27 -07:00
view Simplify handle rendering in search view 2013-04-02 16:49:14 -07:00