benwtrent commented on code in PR #15316:
URL: https://github.com/apache/lucene/pull/15316#discussion_r2417910864


##########
lucene/core/src/java/org/apache/lucene/codecs/hnsw/FlatVectorsReader.java:
##########
@@ -40,21 +40,6 @@
  */
 public abstract class FlatVectorsReader extends KnnVectorsReader implements 
Accountable {
 
-  /** Scorer for flat vectors */
-  protected final FlatVectorsScorer vectorScorer;
-
-  /** Sole constructor */
-  protected FlatVectorsReader(FlatVectorsScorer vectorsScorer) {
-    this.vectorScorer = vectorsScorer;
-  }
-
-  /**
-   * @return the {@link FlatVectorsScorer} for this reader.
-   */
-  public FlatVectorsScorer getFlatVectorScorer() {

Review Comment:
   >  I guess I'm thinkning of a case where a consumer wants to get a vector 
values and score against it to implement something like rescoring/ranking 
   
   [Float|Byte]VectorValues provides mechanisms for bulk scoring and bulk 
rescoring. But sure, I could still see this being used if folks had specialized 
logic.



-- 
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.

To unsubscribe, e-mail: [email protected]

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