Page MenuHomePhabricator

Rebuild custom field indexes when rebuilding standard/fulltext search indexes
ClosedPublic

Authored by epriestley on Feb 10 2014, 9:33 PM.
Tags
None
Referenced Files
F14008264: D8185.diff
Tue, Oct 29, 6:49 PM
F14006409: D8185.id18509.diff
Mon, Oct 28, 8:59 AM
F14005291: D8185.diff
Sun, Oct 27, 10:46 AM
F13972982: D8185.diff
Oct 17 2024, 10:13 PM
F13972977: D8185.id.diff
Oct 17 2024, 10:11 PM
F13972974: D8185.id18509.diff
Oct 17 2024, 10:10 PM
F13972971: D8185.id18526.diff
Oct 17 2024, 10:08 PM
Unknown Object (File)
Sep 27 2024, 2:08 PM
Subscribers

Details

Summary

Ref T4379. Fixes T4359. Currently, bin/search index does not rebuild CustomField indexes. This is because they aren't really part of the main search index. However, from a user's point of view this is by far the most logical place to look for index rebuilds, and it's straightforward for us to write into this secondary store.

At some point, it might be nice to let you specify fields as "fulltext" too, although no one has asked for that yet. We could then dump the text of those fields into the fulltext index. Ref T418.

Test Plan

Used bin/search index --type proj --trace, etc., and examination of the database to verify that indexes rebuilt. Reindexed users, tasks, projects.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped