Skip to content

Commit 91204a1

Browse files
committed
Fix inference module
1 parent bd920c5 commit 91204a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public QueryBuilder semanticQuery(InferenceResults inferenceResults, float boost
556556
);
557557
}
558558

559-
yield new KnnVectorQueryBuilder(inferenceResultsFieldName, inference, null, null, null,null);
559+
yield new KnnVectorQueryBuilder(inferenceResultsFieldName, inference, null, null, null, null);
560560
}
561561
default -> throw new IllegalStateException(
562562
"Field ["

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/rank/textsimilarity/TextSimilarityRankRetrieverTelemetryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void testTelemetryForRRFRetriever() throws IOException {
116116
{
117117
performSearch(
118118
new SearchSourceBuilder().retriever(
119-
new StandardRetrieverBuilder(new KnnVectorQueryBuilder("vector", new float[] { 1.0f }, 10, 15, null))
119+
new StandardRetrieverBuilder(new KnnVectorQueryBuilder("vector", new float[] { 1.0f }, 10, 15, null, null))
120120
)
121121
);
122122
}

0 commit comments

Comments
 (0)