ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

The above process should recreate the CA Search Server indexes