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 messages, if necessary:
Usage
hub model reindex --m model --a allRequired | 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:
Note: You must include either --a or --m, not both. |
Example
This example reindexes all Data Hub models.
hub model reindex --a