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/11/24 20:34:11 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/index TermVectorsWriter.java
dnaber 2004/11/24 11:34:11
Modified: src/java/org/apache/lucene/index TermVectorsWriter.java
Log:
small javadoc fix
Revision Changes Path
1.5 +4 -3 jakarta-lucene/src/java/org/apache/lucene/index/TermVectorsWriter.java
Index: TermVectorsWriter.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/TermVectorsWriter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TermVectorsWriter.java 5 Oct 2004 17:30:47 -0000 1.4
+++ TermVectorsWriter.java 24 Nov 2004 19:34:11 -0000 1.5
@@ -150,11 +150,12 @@
return currentField != null;
}
- /** Add term to the field's term vector. Field must already be open
- * of NullPointerException is thrown. Terms should be added in
+ /** Add term to the field's term vector. Field must already be open.
+ * Terms should be added in
* increasing order of terms, one call per unique termNum. ProxPointer
* is a pointer into the TermPosition file (prx). Freq is the number of
* times this term appears in this field, in this document.
+ * @throws IllegalStateException if document or field is not open
*/
public final void addTerm(String termText, int freq) {
addTerm(termText, freq, null, null);
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org