You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2014/09/19 11:09:39 UTC
svn commit: r1626151 - /lucene/dev/branches/branch_5x/lucene/CHANGES.txt
Author: mikemccand
Date: Fri Sep 19 09:09:39 2014
New Revision: 1626151
URL: http://svn.apache.org/r1626151
Log:
LUCENE-4246: clarify IW.close change
Modified:
lucene/dev/branches/branch_5x/lucene/CHANGES.txt
Modified: lucene/dev/branches/branch_5x/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/CHANGES.txt?rev=1626151&r1=1626150&r2=1626151&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/CHANGES.txt (original)
+++ lucene/dev/branches/branch_5x/lucene/CHANGES.txt Fri Sep 19 09:09:39 2014
@@ -80,13 +80,9 @@ API Changes
* LUCENE-5527: The Collector API has been refactored to use a dedicated Collector
per leaf. (Shikhar Bhushan, Adrien Grand)
-* LUCENE-4246: IndexWriter.close now discards any changes and always
- closes, even if it throws an exception. If matchVersion is <
- LUCENE_50 yet there were uncommitted changes or still-running
- merges, then a RuntimeException will be thrown indicating changes
- were lost (but the writer will still be closed). Finally, a new
- shutdown method was added to do what close used to do (flush, wait
- for merges, commit, close).
+* LUCENE-4246: IndexWriter.close now always closes, even if it throws
+ an exception. The new IndexWriterConfig.setCommitOnClose (default
+ true) determines whether close() should commit before closing.
* LUCENE-5608, LUCENE-5565: Refactor SpatialPrefixTree/Cell API. Doesn't use Strings
as tokens anymore, and now iterates cells on-demand during indexing instead of