You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2014/08/08 15:45:56 UTC

svn commit: r1616756 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/classification/ lucene/classification/src/ lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java

Author: tommaso
Date: Fri Aug  8 13:45:55 2014
New Revision: 1616756

URL: http://svn.apache.org/r1616756
Log:
LUCENE-5878 - merged javadoc fix to branch 4.x

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/classification/   (props changed)
    lucene/dev/branches/branch_4x/lucene/classification/src/   (props changed)
    lucene/dev/branches/branch_4x/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java

Modified: lucene/dev/branches/branch_4x/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java?rev=1616756&r1=1616755&r2=1616756&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java (original)
+++ lucene/dev/branches/branch_4x/lucene/classification/src/java/org/apache/lucene/classification/utils/DocToDoubleVectorUtils.java Fri Aug  8 13:45:55 2014
@@ -32,7 +32,7 @@ public class DocToDoubleVectorUtils {
    * @param docTerms term vectors for a given document
    * @param fieldTerms field term vectors
    * @return a sparse vector of <code>Double</code>s as an array
-   * @throws IOException
+   * @throws IOException in case accessing the underlying index fails
    */
   public static Double[] toSparseLocalFreqDoubleArray(Terms docTerms, Terms fieldTerms) throws IOException {
     TermsEnum fieldTermsEnum = fieldTerms.iterator(null);
@@ -64,7 +64,7 @@ public class DocToDoubleVectorUtils {
    * create a dense <code>Double</code> vector given doc and field term vectors using local frequency of the terms in the doc
    * @param docTerms term vectors for a given document
    * @return a dense vector of <code>Double</code>s as an array
-   * @throws IOException
+   * @throws IOException in case accessing the underlying index fails
    */
   public static Double[] toDenseLocalFreqDoubleArray(Terms docTerms) throws IOException {
     Double[] freqVector = null;