In eclipse neon sr2, this error occurs when using the plugin:
Lock obtain timed out: NativeFSLock@/Users/test/workspace/.metadata/.plugins/it.unibz.instasearch/searchindex/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/sun/A/workspace/ide/.metadata/.plugins/it.unibz.instasearch/searchindex/write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:85)
at org.apache.lucene.index.DirectoryReader.acquireWriteLock(DirectoryReader.java:668)
at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1160)
at org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:1196)
at it.unibz.instasearch.indexing.StorageIndexer.deleteStorage(StorageIndexer.java:333)
at it.unibz.instasearch.indexing.WorkspaceIndexer.updateFile(WorkspaceIndexer.java:266)
at it.unibz.instasearch.jobs.IndexUpdateJob.runInWorkspace(IndexUpdateJob.java:190)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
In eclipse neon sr2, this error occurs when using the plugin: