lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r835521 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java
Date Thu, 12 Nov 2009 20:07:06 GMT
Author: markrmiller
Date: Thu Nov 12 20:07:06 2009
New Revision: 835521

URL: http://svn.apache.org/viewvc?rev=835521&view=rev
Log:
update IndexReader javadoc concerning readonly

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java?rev=835521&r1=835520&r2=835521&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexReader.java Thu Nov 12 20:07:06
2009
@@ -58,14 +58,11 @@
  <p>
 
  <b>NOTE</b>: as of 2.4, it's possible to open a read-only
- IndexReader using one of the static open methods that
- accepts the boolean readOnly parameter.  Such a reader has
- better concurrency as it's not necessary to synchronize on
- the isDeleted method.  Currently the default for readOnly
- is false, meaning if not specified you will get a
- read/write IndexReader.  But in 3.0 this default will
- change to true, meaning you must explicitly specify false
- if you want to make changes with the resulting IndexReader.
+ IndexReader using the static open methods that accept the 
+ boolean readOnly parameter.  Such a reader has better 
+ concurrency as it's not necessary to synchronize on the 
+ isDeleted method.  You must specify false if you want to 
+ make changes with the resulting IndexReader.
  </p>
 
  <a name="thread-safety"></a><p><b>NOTE</b>: {@link



Mime
View raw message