Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaporciani committed Jun 13, 2023
1 parent 69ce94d commit 72dd3fc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@
/** An implementation for retrieving {@link FunctionValues} instances for knn vectors fields. */
public abstract class VectorFieldFunction extends FunctionValues {

protected final ValueSource vs;
protected final ValueSource valueSource;
int lastDocID;

protected VectorFieldFunction(ValueSource vs) {
this.vs = vs;
protected VectorFieldFunction(ValueSource valueSource) {
this.valueSource = valueSource;
}

protected abstract DocIdSetIterator getVectorIterator();

@Override
public String toString(int doc) throws IOException {
return vs.description() + strVal(doc);
return valueSource.description() + strVal(doc);
}

@Override
Expand Down

0 comments on commit 72dd3fc

Please sign in to comment.