AWI search delivers no results

Document ID : KB000087461
Last Modified Date : 04/06/2018
Show Technical Document Details
Issue:
In the case below, all objects with TICKET_BRIDGE should be found.  However, as seen below, the drop down under the search box gives 0 results even though there is an object with this name (see red arrow):
 
0EMb0000000IWXy.png

After a search attempt, the Java Worker Processes (JWPs) freezes and must be restarted.
Cause:
Search results are not returned in the AWI. Search results come from a Lucene index which is stored in the folder bin/indexCache/ of the Automation Engine.
Resolution:
Solution:
Update to a fix version listed below or a newer version if available.
  • Automation Engine 12.0.3 - Available
Search results come from a Lucene index which is stored in the folder bin/indexCache/<client> of the Automation Engine. 

After installing the fix version or higher, to rebuild the existing index follow these steps:
  1. Stop all JWP(s) as well as JCP(s) (which are available with version 12.1)
  2. Remove the folder "indexCache" or  "indexCache-12.1" in the BIN directory of the Automation Engine 
  3. Start the JWP(s) and afterward the JCP(s)
This rebuilds the index from scratch. Then the search in AWI will find all objects.


Workaround:
Rebuild the search index when the problem appears:
  1. Stop all JWPs 
  2. Remove the folder "indexCache" in the BIN directory of the Automation Engine 
  3. Start the JWP(s)