mirror of https://github.com/apache/lucene.git
LUCENE-5878 - fixing missing javadoc in DocToDoubleVectorUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616755 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf773c01f5
commit
db2e984a7b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue