W3cubDocs

/Chef 11

knife index rebuild

Use the knife index rebuild subcommand to rebuild the search indexes for the open source Chef server. This operation is destructive and may take some time.

Warning

This subcommand ONLY works when run against the open source Chef server version 10.x. This subcommand will NOT run against open source Chef server 11, Enterprise Chef (including hosted Enterprise Chef), or Private Chef.

Syntax

This subcommand has the following syntax:

$ knife index rebuild

Options

Note

Review the list of common options available to this (and all) knife subcommands and plugins.

This command does not have any specific options.

Examples

None.

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/release/11-18/knife_index_rebuild.html