Search and index fails with various errors ("No such file or directory", "java.io.IOException: background merge hit exception") (Doc ID 1985780.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Performing search against global index on Contributor UI occasionally yields error

"Error occurred during search. Please change your
search query and try again. If the problem persists,
please contact your system administrator."

And bulk / ad-hoc search reindex occasionally fails, with errors such as:

[2015-02-04 16:04:38,848 UTC] [TRACE] [Thread-6636] [com.fatwire.search.asset] Trying to release write lock for file /sites/shared/clustersync/searchlock/AssetQueues_ProcessAll
[2015-02-04 16:04:38,859 UTC] [ERROR] [Thread-6636] [com.fatwire.search.asset] Error met during processing all the Search Queues
com.fatwire.cs.core.search.engine.SearchEngineException: java.io.IOException: background merge hit exception: _1e:c158 _1f:c1->_1f into _1g [optimize] [mergeDocStores]
at com.fatwire.search.lucene.LuceneSearchEngine.index(LuceneSearchEngine.java:184)
...
Caused by: java.io.IOException: background merge hit exception: _1e:c158 _1f:c1->_1f into _1g [optimize] [mergeDocStores]
...
Caused by: java.io.FileNotFoundException: /sites/shared/lucene/Page/_1f.cfs (No such file or directory)

or

[2015-02-04 16:09:28,903 UTC] [TRACE] [Thread-6698] [com.fatwire.search.asset] Trying to release write lock for file /sites/shared/clustersync/searchlock/AssetQueues_ProcessAll
[2015-02-04 16:09:28,906 UTC] [ERROR] [Thread-6698] [com.fatwire.search.asset] Error met during processing all the Search Queues
com.fatwire.cs.core.search.engine.SearchEngineException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/sites/shared/lucene/Page/write.lock
...
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/sites/shared/lucene/Page/write.lock



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms