Apache Solr open-source search software
documentation: add a link from delete(Term) to delete(int) because the latter one contains information about when the deleting will become effective
Daniel Naber5ba38040571b
diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.javaindex ce2eb90e9cb..233af5060b3 100644--- a/src/java/org/apache/lucene/index/IndexReader.java+++ b/src/java/org/apache/lucene/index/IndexReader.java@@ -444,6 +444,8 @@ public abstract class IndexReader {the document. Then to delete such a document, one merely constructs aterm with the appropriate field and the unique ID string as its text andpasses it to this method. Returns the number of documents deleted.+ See {@link #delete(int)} for information about when this deletion will+ become effective.*/public final int delete(Term term) throws IOException {TermDocs docs = termDocs(term);