Release : 12.2, 12.3
Component : Automation Engine
Note: As of v12.2, client subfolders were removed from indexCache folder and the folder that corresponds to the index for all of the clients was placed there instead (v12.2, v12.3 inside the indexCache folder). Once the JCP and JWP are stopped, you can remove the actual 12.2/12.3 subfolder, but do not delete indexCache folder. Then, at a startup of the JCP and JWP, the new 12.2 folder will be created and index will be rebuilt.
To Delete Search Index Files
Stop the JWP and JCP services of the relevant client.
Go to the folder in which the Automation Engine is installed, for example:
Open the indexCache folder.
Inside the indexCache folder you will find subfolders that corresponds to the version of your Automation Engine (ex. 12.2, 12.3), this is the folder that contains the search index files.
Delete the folder that contains the search index files. Do not delete the indexCache folder.
If this does not properly recreate the index:
1. Install the JDK - Java Development Kit, the JRE alone would not be enough to generate a heap dump
2. Stop the JCP.
3. delete the existing cache
4. set trace on the JCP TCP/IP=2, DB=4, FT=1)
5. start jcp and wait for a while (10-15mins) so the processing stops
6. run a java heapdump on the jcp:
jmap -dump:live,format=b,file=heap.bin <PID>
where <PID> is the JCP PID
7. Please provide to support the jcp log/trace and heap.bin file.
Note the following: In version 12.3.2, the JCP is in charge of the indexcache rebuild, no longer the JWP.
However, due to potential blocking problems that may affect the JCP, it has been decided to reassign this function back to the JWP. This will be done with a next AE versions (still to be determined).
Independently from the version, the first process that comes up, will be in charge of the rebuild, followers will assume their normal activity.
On a multi node system, the indexcache rebuild must be done simultaneously on each node.
In 12.3.3 - under the indexcache directory we list 12.5 (and not 12.3) -> this directory can be safely deleted.