You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/10/04 09:31:56 UTC

[jira] Commented: (LUCENE-1558) Make IndexReader/Searcher ctors readOnly=true by default

    [ https://issues.apache.org/jira/browse/LUCENE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762000#action_12762000 ] 

Uwe Schindler commented on LUCENE-1558:
---------------------------------------

We have deprecated all these methods and I removed them yesterday. Do you want to put them back again?

> Make IndexReader/Searcher ctors readOnly=true by default
> --------------------------------------------------------
>
>                 Key: LUCENE-1558
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1558
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.4.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.0
>
>
> Another "change the defaults" in 3.0.
> Right now you get a read/write reader from IndexReader.open and new IndexSearcher(...), and reserving the right to write causes thread contention (on isDeleted).
> In 3.0 let's make readOnly reader the default, but still allow opening a read/write IndexReader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org