Reindexing
Reindexing is the process of re-running the indexing of the document vault into a newly created, empty index. You must reindex after certain plugin version updates.
The reindexing procedure depends on your environment.
Reindexing in On-Prem Environments
To reindex content in an on‑prem environment, complete the following steps:
1. Download the Infrastructure as Code (IaC) script from the Windchill AI Assistant Configuration window.
2. Create new index resources in the existing Azure deployment managed by the AI Assistant Infrastructure as Code (IaC) script:
a. In the wcaia.parameters.json file, add a new index name to the index_names field.
For example, if index_names is ["default"], update it to ["default", "reindexed"].
3. In the Windchill AI Assistant Configuration window, update the following values to point to the new index:
a. In the Azure AI Search section, set Index Name to the new index name (for example, reindexed).
b. In the Azure Storage section, set Container Name to the same value.
4. On the
Indexing Dashboard, start a manual bulk synchronization or allow an automatic synchronization to run. For more information, see
Configuring the Indexing Dashboard.
Reindexing in SaaS Environments
To reindex content in a SaaS environment, complete the following steps:
1. In the PTC Admin Center, register your Windchill product instance again. This step is required even if the instance was registered previously.
2. In the
Windchill AI Assistant Configuration window, under the
PTC SaaS Platform Service Principal section, update the
Client ID and
Secret Key with the values from the
Connection Details tab. For more information, see
Configuring the Windchill AI Assistant Plugin.
3. On the
Indexing Dashboard, start a manual bulk synchronization or allow the automatic synchronization to run. For more information, see
Configuring the Indexing Dashboard.