You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by dn...@apache.org on 2004/08/04 21:40:27 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/index IndexReader.java
dnaber 2004/08/04 12:40:27
Modified: src/java/org/apache/lucene/index IndexReader.java
Log:
documentation: add a link from delete(Term) to delete(int) because the latter one contains information about when the deleting will become effective
Revision Changes Path
1.33 +3 -1 jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java
Index: IndexReader.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- IndexReader.java 21 Apr 2004 16:46:30 -0000 1.32
+++ IndexReader.java 4 Aug 2004 19:40:26 -0000 1.33
@@ -444,6 +444,8 @@
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. 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org