Homec4science

move ponder writes into editors; better search indexing

Authored by Pieter Hooimeijer <pieter@fb.com> on Oct 7 2012, 23:35.

Description

move ponder writes into editors; better search indexing

Summary:

  • Moved the remaining ->save() calls into editors
  • for the PonderQuestion, separate attachRelated (needed for indexing and viewing) from attachVotes (needed for viewing but not indexing)
  • Update the indexer to include comment and answer content in the search index.

Test Plan:
Stuff works as before. Also: add a comment or answer with some
easily-identifiable text and search for it; observe that
it gets indexed appropriately.

Reviewers: epriestley, nh, vrana

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1869

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

Details

Committed
Pieter Hooimeijer <pieter@fb.com>Oct 7 2012, 23:35
Pushed
aubortJan 31 2017, 17:16
Parents
rPH741469d7df31: Minor, fix a JS issue with help link in Remarkup assist.
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Hooimeijer <pieter@fb.com> committed rPH74644d521027: move ponder writes into editors; better search indexing (authored by Pieter Hooimeijer <pieter@fb.com>).Oct 7 2012, 23:35