When and how should I rebuild AWI's index?
You can rebuild indexes when there are problems in searching/listing newly created objects, or if you have no space to generate Lucene indexes.
You may also witness that the search returns the objects which have been removed/deleted - In such cases rebuilding AWI's index help fix these.
Release : 12.x 21.x
Component : Automation Engine
Note: On a distributed setup, this has to be done simultaneously on all the nodes.
Please also note that while the index is being (re)built, there could be some time where the search functionality does not work 100% accurately - this is to be expected. How long it will take can be estimated using the below, but is not a for sure:
In version 12.x the JCP handled the rebuilding of the Lucene index.
With version 21.0 this index rebuild role is handled by the JWP. ( Ref. JWP Roles )
You can start a JWP as a dedicated process with a specific role. For example, you can use the following command to start the JWP as a dedicated process for the indexing (IDX) role:
java -Xmx2G -jar ucsrvjp.jar -Iucsrv.ini -role=IDX