Page MenuHomePhabricator

Perform search indexing in the worker queue and respect `bin/search index --background`
ClosedPublic

Authored by epriestley on Jan 14 2014, 8:31 PM.
Tags
None
Referenced Files
F15665422: D7966.diff
Sun, May 25, 5:59 AM
Unknown Object (File)
Wed, May 7, 12:18 PM
Unknown Object (File)
Tue, May 6, 5:59 PM
Unknown Object (File)
Apr 20 2025, 6:36 PM
Unknown Object (File)
Apr 6 2025, 12:39 PM
Unknown Object (File)
Mar 31 2025, 8:03 PM
Unknown Object (File)
Mar 27 2025, 4:28 PM
Unknown Object (File)
Mar 27 2025, 4:26 PM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
Restricted Maniphest Task
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rPa716fe99f3b2: Perform search indexing in the worker queue and respect `bin/search index…
Summary

Fixes T3857. Earlier work made this trivial and just left product questions, which I've answered by requiring the daemons to run on reasonable installs.

Test Plan

Ran bin/search index and bin/search index --background. Observed indexes write in the former case and tasks queue in the latter case. Commented with a unique string on a revision and searched for it a moment later, got exactly one result (that revision), verifying that reindexing works correctly.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/search/management/PhabricatorSearchManagementIndexWorkflow.php
32

the it sentence is hard to read

epriestley updated this revision to Unknown Object (????).Jan 14 2014, 9:22 PM
  • Make it the it easier to read it.