knife index rebuild — chef-client Man Pages

# knife index rebuild

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

Note

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.