contextgraph schema modify indexType - spectrum_platform - 23.1

spectrum-inline

Product type
Software
Portfolio
Enrich
Integrate
Locate
Verify
Product family
Spectrum
Product
Spectrum > Dataflow Designer
Spectrum > Spectrum Platform
Spectrum > Quality > Spectrum Quality
Spectrum > Quality > Context Graph
Spectrum > Web Services
Spectrum > Geo Addressing > Enterprise Tax
Spectrum > Discovery
Spectrum > Data Integration
Spectrum > Spatial > Spectrum Spatial
Spectrum > GeoEnrichment
Spectrum > Quality > Addressing
Version
23.1
Language
English
Product name
Precisely Spectrum
Title
spectrum-inline
First publish date
2007
Last updated
2023-06-02
Published on
2023-06-02T09:54:39.526000

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 waitForComplete
Required 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.
NONE
Removes the property index.
EXACT
Sets the property index to exact.
CASE_INSENSITIVE
Sets the property index to case insensitive.
No --w waitForComplete Specifies whether to wait for jobs to complete in a synchronous mode, where waitForComplete is one of the following:
true
Waits for jobs to complete.
false
Does not wait for jobs to complete. This is the default setting.

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