mirror of https://github.com/apache/lucene.git
update IndexReader javadoc concerning readonly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@835521 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
444dae0a2f
commit
c4122adebf
|
@ -58,14 +58,11 @@ import java.util.Map;
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<b>NOTE</b>: as of 2.4, it's possible to open a read-only
|
<b>NOTE</b>: as of 2.4, it's possible to open a read-only
|
||||||
IndexReader using one of the static open methods that
|
IndexReader using the static open methods that accept the
|
||||||
accepts the boolean readOnly parameter. Such a reader has
|
boolean readOnly parameter. Such a reader has better
|
||||||
better concurrency as it's not necessary to synchronize on
|
concurrency as it's not necessary to synchronize on the
|
||||||
the isDeleted method. Currently the default for readOnly
|
isDeleted method. You must specify false if you want to
|
||||||
is false, meaning if not specified you will get a
|
make changes with the resulting IndexReader.
|
||||||
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.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<a name="thread-safety"></a><p><b>NOTE</b>: {@link
|
<a name="thread-safety"></a><p><b>NOTE</b>: {@link
|
||||||
|
|
Loading…
Reference in New Issue