Index: IndexReader.java =================================================================== --- IndexReader.java (revision 400069) +++ IndexReader.java (working copy) @@ -520,7 +520,7 @@ /** Implements deletion of the document numbered docNum. - * Applications should call {@link #delete(int)} or {@link #delete(Term)}. + * Applications should call {@link #deleteDocument(int)} or {@link #deleteDocuments(Term)}. */ protected abstract void doDelete(int docNum) throws IOException; @@ -530,7 +530,7 @@ * the document. Then to delete such a document, one merely constructs a * term with the appropriate field and the unique ID string as its text and * passes it to this method. - * See {@link #delete(int)} for information about when this deletion will + * See {@link #deleteDocument(int)} for information about when this deletion will * become effective. * @return the number of documents deleted */