diff --git a/src/java/org/apache/lucene/index/IndexWriter.java b/src/java/org/apache/lucene/index/IndexWriter.java index 7f0f929a9b4..7f29e82652e 100644 --- a/src/java/org/apache/lucene/index/IndexWriter.java +++ b/src/java/org/apache/lucene/index/IndexWriter.java @@ -246,7 +246,7 @@ public class IndexWriter { * Absolute hard maximum length for a term. If a term * arrives from the analyzer longer than this length, it * is skipped and a message is printed to infoStream, if - * set (see {@link setInfoStream}). + * set (see {@link #setInfoStream}). */ public final static int MAX_TERM_LENGTH = DocumentsWriter.MAX_TERM_LENGTH; diff --git a/src/java/org/apache/lucene/index/SnapshotDeletionPolicy.java b/src/java/org/apache/lucene/index/SnapshotDeletionPolicy.java index eacdd02dea1..b5ac5aeb169 100644 --- a/src/java/org/apache/lucene/index/SnapshotDeletionPolicy.java +++ b/src/java/org/apache/lucene/index/SnapshotDeletionPolicy.java @@ -22,15 +22,15 @@ import java.util.List; import java.util.ArrayList; import java.io.IOException; -/** A {@link DeletionPolicy} that wraps around any other - * {@link DeletionPolicy} and adds the ability to hold and +/** A {@link IndexDeletionPolicy} that wraps around any other + * {@link IndexDeletionPolicy} and adds the ability to hold and * later release a single "snapshot" of an index. While * the snapshot is held, the {@link IndexWriter} will not * remove any files associated with it even if the index is * otherwise being actively, arbitrarily changed. Because - * we wrap another arbitrary {@link DeletionPolicy}, this + * we wrap another arbitrary {@link IndexDeletionPolicy}, this * gives you the freedom to continue using whatever {@link - * DeletionPolicy} you would normally want to use with your + * IndexDeletionPolicy} you would normally want to use with your * index. */ public class SnapshotDeletionPolicy implements IndexDeletionPolicy {