You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Busch (JIRA)" <ji...@apache.org> on 2007/10/17 20:32:50 UTC

[jira] Created: (LUCENE-1030) "Read-only" IndexReaders

"Read-only" IndexReaders
------------------------

                 Key: LUCENE-1030
                 URL: https://issues.apache.org/jira/browse/LUCENE-1030
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Index
            Reporter: Michael Busch
            Priority: Minor


IndexReaders are able to perform certain write operations on an index (setNorm(), deleteDocument()). This makes issues like LUCENE-743 more complicated and also duplicate code for acquiring locks and write transactions is necessary.

Therefore we should make IndexReaders "read-only" in the future. However, we have to find a good solution to support setting norms and deleting documents by docid with the IndexWriter. See related discussions in LUCENE-743 and http://www.gossamer-threads.com/lists/lucene/java-dev/52017.

-- 
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


[jira] Resolved: (LUCENE-1030) "Read-only" IndexReaders

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1030.
----------------------------------------

    Resolution: Duplicate

Read-only IndexReaders were added in 2.4 (LUCENE-1329).

> "Read-only" IndexReaders
> ------------------------
>
>                 Key: LUCENE-1030
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1030
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Michael Busch
>            Priority: Minor
>
> IndexReaders are able to perform certain write operations on an index (setNorm(), deleteDocument()). This makes issues like LUCENE-743 more complicated and also duplicate code for acquiring locks and write transactions is necessary.
> Therefore we should make IndexReaders "read-only" in the future. However, we have to find a good solution to support setting norms and deleting documents by docid with the IndexWriter. See related discussions in LUCENE-743 and http://www.gossamer-threads.com/lists/lucene/java-dev/52017.

-- 
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