Page MenuHomePhabricator

Maniphest custom fields reindexing script
Closed, ResolvedPublic

Description

Use case: I added a few custom fields, but did not specify: "search":true
Now I want to query that data via the API, but DB _phabricator_maniphest table maniphest_customfieldstorage column fieldIndex is a hash and its value is not found in either maniphest_customfieldstringindex nor maniphest_customfieldnumericindex

source: https://secure.phabricator.com/chatlog/channel/6/?at=113820

Event Timeline

allan.laal raised the priority of this task from to Needs Triage.
allan.laal updated the task description. (Show Details)
allan.laal added a subscriber: allan.laal.

Specifically:

bin/search index --all --background

...will rebuild everything. Use bin/search help index for details. You can use the --type flag to index less stuff, particularly (values include proj, user, task).