mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
f4f73e0a7e
Summary: Ref T12819. Some of the extensions "enrich" the document (adding more fields or relationships), while others "index" it (insert it into some kind of index for later searching). Currently, these are all muddled under a single "index" phase. However, the Ferret extension cares about fields and relationships which other extensions may add. Split this into two phases: "enrich" adds fields and relationships so other extensions can read them later if they want. "Index" happens after the document is built and has all the fields and relationships. The specific problem this solves is that comments may not have been added to the document when the Ferret extension runs. By moving them to the "enrich" phase, the Ferret engine will be able to see and index comments. Test Plan: Ran `bin/search index ...`, grepped for `indexFulltextDocument`. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12819 Differential Revision: https://secure.phabricator.com/D18513 |
||
---|---|---|
.. | ||
__tests__ | ||
application | ||
capability | ||
command | ||
conduit | ||
config | ||
constants | ||
controller | ||
customfield | ||
edge | ||
editor | ||
engine | ||
engineextension | ||
events | ||
herald | ||
icon | ||
interface | ||
lipsum | ||
menuitem | ||
phid | ||
policyrule | ||
query | ||
remarkup | ||
search | ||
searchfield | ||
storage | ||
typeahead | ||
view | ||
xaction |