Changes the index type of a model.
Use the contextgraph schema modify indexType command to change the index type of a Context Graph model property.
Usage
contextgraph schema modify indexType --m model --p property --i index --w waitForCompleteRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model whose entity type you want to modify. |
Yes | --p property | Specifies the property you want to index. |
Yes | --i index | Specifies the property index.
|
No | --w waitForComplete | Specifies whether to wait for jobs to complete in a synchronous mode, where
waitForComplete is one of the following:
|
Example
This example changes the index type for a property called HireDate in a model called Staff to exact.
contextgraph schema modify indexType --m Staff --p HireDate --i EXACT