1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/project
epriestley f4f73e0a7e Separate fulltext engine extensions into "enrich" and "index" phases
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
2017-09-01 09:40:11 -07:00
..
__tests__ Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
application Add Dashboards as a default pinned application 2017-03-21 11:10:20 -07:00
capability Add default View, Edit, and Join Policies to Projects 2014-11-21 11:22:17 -08:00
command Implement a "!projects" mail command 2015-04-01 11:51:51 -07:00
conduit Migrate Project color to modular transactions 2017-05-18 16:46:06 -07:00
config Choose default project image by icon 2017-07-09 11:41:02 -07:00
constants Allow workboard background colors to be configured 2016-02-16 08:15:12 -08:00
controller Add some more builtin project images 2017-07-30 12:29:02 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
edge Replace subscribe/unsubscribe for projects with explicit mail setting 2016-01-19 19:39:02 -08:00
editor Fix project creation feed story 2017-07-19 10:41:07 -07:00
engine Migrate Project parent and milestone to modular transactions 2017-05-23 11:20:01 -07:00
engineextension Separate fulltext engine extensions into "enrich" and "index" phases 2017-09-01 09:40:11 -07:00
events New People Hovercards 2016-02-11 15:41:55 -08:00
herald Add Herald support for projects 2016-01-19 19:37:54 -08:00
icon Test 0 and "" cases in Project Icon Config 2017-07-10 12:01:22 -07:00
interface Roughly implement milestone columns on workboards 2016-02-03 16:37:59 -08:00
lipsum Migrate Project status to modular transactions 2017-05-18 11:36:13 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
menuitem Add a large profile picture to Projects 2017-05-11 10:13:38 -07:00
phid Set project's ObjectName to its PHID when it doesn't have a hashtag 2017-04-05 06:22:52 -04:00
policyrule De-garbage the horrible garbage project section of the policy selection control 2016-02-05 09:50:06 -08:00
query Limit the damage that degenerate project name typeahead queries can cause 2017-08-30 11:23:38 -07:00
remarkup Give project tags hovercards 2016-02-03 14:50:49 -08:00
search Remove FIELD_KEYWORDS, index project slugs as body content 2017-04-02 09:36:32 -07:00
searchfield Fix a bad call when prefilling ApplicationSearch from ?projects=some_slug 2016-02-08 10:44:33 -08:00
storage Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00
typeahead Fix an issue where tokenizers can sort milestone results into the wrong query phase 2016-12-09 08:07:12 -08:00
view Provide UI hints about task subtypes 2017-05-26 13:58:41 -07:00
xaction Migrate Project workboard background color to modular transactions 2017-05-24 12:56:25 -07:00