You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2020/10/18 15:50:25 UTC
[lucene-solr] branch master updated: fix javadoc
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new e9ff918 fix javadoc
e9ff918 is described below
commit e9ff918dbddac588655f88b549844b42eb5fbf5b
Author: Michael Sokolov <so...@amazon.com>
AuthorDate: Sun Oct 18 11:48:05 2020 -0400
fix javadoc
---
.../core/src/java/org/apache/lucene/index/VectorValues.java | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/lucene/core/src/java/org/apache/lucene/index/VectorValues.java b/lucene/core/src/java/org/apache/lucene/index/VectorValues.java
index 45c79fc..0404ef0 100644
--- a/lucene/core/src/java/org/apache/lucene/index/VectorValues.java
+++ b/lucene/core/src/java/org/apache/lucene/index/VectorValues.java
@@ -112,22 +112,13 @@ public abstract class VectorValues extends DocIdSetIterator {
/**
* Return the vector indexed at the given ordinal value as an array of bytes in a BytesRef;
- * these are the bytes corresponding to the float array in IEEE 754 standard encoding, encoded
- * using little-endian byte order. The provided bytes may be shared and overwritten by subsequent
- * calls to this method and {@link #vectorValue(int)}.
+ * these are the bytes corresponding to the float array. The provided bytes may be shared and overwritten
+ * by subsequent calls to this method and {@link #vectorValue(int)}.
* @param targetOrd a valid ordinal, ≥ 0 and < {@link #size()}.
*/
BytesRef binaryValue(int targetOrd) throws IOException;
/**
- * Return the dense ordinal of the document if it has a vector. This ordinal ranges from 0 to the one less than the number
- * of documents having a vector in this iterator, and it is guaranteed to increase with increasing docid.
- * @param docId the document whose ordinal is returned
- * @return the ordinal of the given document, or -1 if the document has no vector value
- */
- //int ordinal(int docId);
-
- /**
* Return the k nearest neighbor documents as determined by comparison of their vector values
* for this field, to the given vector, by the field's score function. If the score function is
* reversed, lower values indicate nearer vectors, otherwise higher scores indicate nearer