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.

Bug 237017 - Provide a way to use lucene support with read only access
Summary: Provide a way to use lucene support with read only access
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.0
Hardware: PC All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-11 09:11 UTC by Maria Tishkova
Modified: 2014-01-28 03:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
new methods introduced which allows to use lucene index in read only mode (5.55 KB, text/plain)
2014-01-22 14:05 UTC, Maria Tishkova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Tishkova 2013-10-11 09:11:25 UTC
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.
Comment 1 Maria Tishkova 2014-01-22 14:05:24 UTC
Created attachment 144249 [details]
new methods introduced which allows to use lucene index in read only mode
Comment 2 Maria Tishkova 2014-01-22 14:06:17 UTC
We need the fix for next studio release, please consider patch suggested and if it is OK apply to trunk
Comment 3 Tomas Zezula 2014-01-26 15:30:19 UTC
The patch is perfect, I am going to integrate it.
Thanks for the patch.
Comment 4 Tomas Zezula 2014-01-26 15:31:42 UTC
Fixed jet-main d81aa0eee8af
Comment 5 Quality Engineering 2014-01-28 03:06:27 UTC
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