HomePhabricator

Modularize transaction/comment indexing in the FulltextEngine

Description

Modularize transaction/comment indexing in the FulltextEngine

Summary:
Ref T9979. This is currently hard-coded but can be done in a generic way.

This has one minor behavioral changes: answer text is no longer included in the question text index in Ponder. I'm not planning to accommodate that for now since I don't want to dig this hole any deeper than I already have. This behavior should be different anyway (e.g., index the answer, then show the question in the results or something).

Test Plan:

  • Put a unique word in a Maniphest comment.
  • Searched for the word.
  • Found the task.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9979

Differential Revision: https://secure.phabricator.com/D14837