Skip to content

Commit

Permalink
updating minimum supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpailis committed Oct 4, 2024
1 parent 73ab244 commit 4b15561
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public String getWriteableName() {

@Override
public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.RRF_QUERY_REWRITE;
return TransportVersions.RANK_DOCS_RETRIEVER;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
package org.elasticsearch.xpack.rank.rrf;

import org.apache.lucene.search.Explanation;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.TransportVersions;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
Expand Down Expand Up @@ -169,4 +170,9 @@ protected void doToXContent(XContentBuilder builder, Params params) throws IOExc
builder.field("scores", scores);
builder.field("rankConstant", rankConstant);
}

@Override
public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.RRF_QUERY_REWRITE;
}
}

0 comments on commit 4b15561

Please sign in to comment.