Search in AWI results in U00045014 Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found error

Document ID : KB000087359
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found in NIOFSDirectory@

Upon performing a search in the AWI, the following error appears in the Java Worker Process (JWP) logs:
 
U00045014 Exception 'org.apache.lucene.index.IndexNotFoundException: "no segments* file found in NIOFSDirectory@/wla/Automic/Automation.Platform/AutomationEngine/bin/indexCache/3 lockFactory=NativeFSLockFactory@/wla/Automic/Automation.Platform/AutomationEngine/bin/indexCache/3: files: []"' at 'org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run():864'.

Then a forced trace is generated:
 
U00003620 Routine 'com.automic.search.lucene.IndexSearch' forces trace because of error.
Cause:
Cause type:
Other
Root Cause: The index files have not been generated by the JWP
Resolution:
  1. Stop all JWPs
  2. Delete the folder structure 'indexCache'
  3. Start a JWP


Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
Stop and restart JWPs.