search cancel

How to recreate indexes on CA Search Server?

book

Article ID: 189262

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

How to recreate indexes (not just rebuild) on CA Search Server? 

Environment

Service Management 17.2 and 17.3

XFLOW/SERVICE POINT and SEARCH SERVER

All Supported Operating Systems

Resolution

1.  Stop the CA Search Server service
2.  In C:\Program Files\CA\SC\CASearchServer\elasticsearch-2.1.1\data\ca_es_cluster\nodes\0 directory, rename the indices folder to "original_Indices"
3.  Create a new folder called C:\Program Files\CA\SC\CASearchServer\elasticsearch-2.1.1\data\ca_es_cluster\nodes\0\indices
4.  Restart the CA Search Server service
5.  Re-run the pdm_es_build_index_metadata.bat command
6.  Re-run the pdm_es_initial_load.bat command

************************************************

For Elastic search 7.10.2 & 7.16.2

1. C:\Program Files\CA\SC\CASearchServer\search\bin

2. Run the pdm_es_rebuild_index.bat 

The above process should recreate the CA Search Server indexes

Additional Information

Perform Initial Load and Refresh Index and Data on the Search Server