This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
in CND we implement layering and need a read only access to the IndexManager. Now we have an exception from IndexManager createTransactionalIndex method which checks if the text index folder is writable. We need to be able to open read/only index. We will control ourselves that put cannot be done of text index is opened in read only mode.
Created attachment 144249 [details] new methods introduced which allows to use lucene index in read only mode
We need the fix for next studio release, please consider patch suggested and if it is OK apply to trunk
The patch is perfect, I am going to integrate it. Thanks for the patch.
Fixed jet-main d81aa0eee8af
Integrated into 'main-silver', will be available in build *201401280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d81aa0eee8af User: Tomas Zezula <tzezula@netbeans.org> Log: #237017:Provide a way to use lucene support with read only access