Homec4science

Modularize transaction/comment indexing in the FulltextEngine

Authored by epriestley <git@epriestley.com> on Dec 21 2015, 16:08.

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

Details

Committed
epriestley <git@epriestley.com>Dec 22 2015, 02:24
Pushed
aubortJan 31 2017, 17:16
Parents
rPHaab1574e336e: Remove TYPE_SEARCH_DIDUPDATEINDEX event
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHecc3314a2527: Modularize transaction/comment indexing in the FulltextEngine (authored by epriestley <git@epriestley.com>).Dec 22 2015, 02:24