hub model reindex

Reindexes Data Hub models.

Use the hub model reindex command to reindex a single Data Hub model or all Data Hub models. The utility will return a status message for each model on a separate line, as shown below.

The utility will also return failure messsages, if necessary:

Usage

hub model reindex --m model --a all
Required Argument Description
No --m model Specifies the name of the model whose contents you want to reindex if you are reindexing a single model.
Note: You must include either --m or --a, not both.
No --a all Specifies to reindex all models, where all is one of the following:
true
Reindexes all models.
false
Does not reindex all models. This is the default setting.
Note: You must include either --a or --m, not both.

Example

This example reindexes all Data Hub models.

hub model reindex --a