Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-15029 Add lucene.interal tag

Mike Drobf11837544fdb
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
index dee8bad705a..0324b496674 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java
@@ -5162,7 +5162,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit, Accountable,
* <p>This method should be called on a tragic event ie. if a downstream class of the writer
* hits an unrecoverable exception. This method does not rethrow the tragic event exception.
* <p>Note: This method will not close the writer but can be called from any location without respecting any lock order
- * <p>This method is visible for testing, and is not expected to be called by client code
+ * @lucene.internal
*/
public void onTragicEvent(Throwable tragedy, String location) {
// This is not supposed to be tragic: IW is supposed to catch this and