Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-684: improve javadoc of deleDocuments(Term), thanks to Paul Elschot

Daniel Naber32b1946cc171
diff --git a/src/java/org/apache/lucene/index/IndexReader.java b/src/java/org/apache/lucene/index/IndexReader.java
index 47f9d580543..57b82ba72f8 100644
--- a/src/java/org/apache/lucene/index/IndexReader.java
+++ b/src/java/org/apache/lucene/index/IndexReader.java
@@ -549,7 +549,7 @@ public abstract class IndexReader {
protected abstract void doDelete(int docNum) throws IOException;
- /** Deletes all documents containing <code>term</code>.
+ /** Deletes all documents that have a given <code>term</code> indexed.
* This is useful if one uses a document field to hold a unique ID string for
* 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