LUCENE-3958: javadocs corrections for IndexWriter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-04-07 16:47:39 +00:00
parent fbc8429905
commit 44e4290b4c
2 changed files with 9 additions and 4 deletions

View File

@ -716,6 +716,11 @@ Bug fixes
* LUCENE-3589: BytesRef copy(short) didnt set length.
(Peter Chang via Robert Muir)
Documentation
* LUCENE-3958: Javadocs corrections for IndexWriter.
(Iulius Curt via Robert Muir)
======================= Lucene 3.6.0 =======================
Changes in backwards compatibility policy

View File

@ -1345,7 +1345,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {
final InfoStream infoStream;
/**
* Forces merge policy to merge segments until there's <=
* Forces merge policy to merge segments until there are <=
* maxNumSegments. The actual merges to be
* executed are determined by the {@link MergePolicy}.
*
@ -1371,14 +1371,14 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {
* <p>The actual temporary usage could be much less than
* these figures (it depends on many factors).</p>
*
* <p>In general, once the this completes, the total size of the
* <p>In general, once this completes, the total size of the
* index will be less than the size of the starting index.
* It could be quite a bit smaller (if there were many
* pending deletes) or just slightly smaller.</p>
*
* <p>If an Exception is hit, for example
* due to disk full, the index will not be corrupt and no
* documents will have been lost. However, it may have
* due to disk full, the index will not be corrupted and no
* documents will be lost. However, it may have
* been partially merged (some segments were merged but
* not all), and it's possible that one of the segments in
* the index will be in non-compound format even when