jtibshirani commented on a change in pull request #104:
URL: https://github.com/apache/lucene/pull/104#discussion_r620479333



##########
File path: 
lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
##########
@@ -1357,6 +1359,11 @@ public VectorValues getVectorValues(String fieldName) {
       return VectorValues.EMPTY;
     }
 
+    @Override
+    public TopDocs searchNearestVectors(String field, float[] target, int k, 
int fanout) {
+      return TopDocsCollector.EMPTY_TOPDOCS;

Review comment:
       This makes sense to me. I'll update this and `getVectorValues` above to 
return `null`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to