The search engine stores its files in App_Data/Search folder. The Lucene search engine generates segment files there. Each time you Create, Update or Delete a content item or a page the Search Index runs in the background. This causes updating of the segment files( increasing or decreasing the size).
If there is not enough storage the segment files cannot be updated.
If the account that runs application pool does not have permissions (full) over App_Data the file could be
If these files are used by another process they cannot be unlocked.
Lucene also uses the Temp Windows folder in its background, so it it's full the same problem appears.
The locking is used by Lucene API, bacause this caches the directories and ensures that there is a unique Directory, so that synchronization on the Directory can be used to synchronize access between readers and writers.
When you run the index the files from the Search folder get locked because Lucene reads them. The lock ensures that one thread does not enter a critical section of code while another thread is in the same section.
The error you are getting is because Lucene or other application is locked segments file and until the process that is being conducted complete the file will not be unlocked.
Try restarting the application. This will release the locked files..You could use some external tool to identify what exactly is locking the directory and release it by terminating the process.
You could also delete your index and recreate it. Remove manually
the files from App_Data/Search/[your index name].
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items