Skip to content

Commit ea492e2

Browse files
committed
Merge conflicts
1 parent 2be44f4 commit ea492e2

File tree

2 files changed

+30
-22
lines changed

2 files changed

+30
-22
lines changed

x-pack/plugin/rank-rrf/src/test/java/org/elasticsearch/xpack/rank/linear/LinearRetrieverBuilderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void testMultiFieldsParamsRewrite() {
5858
resolvedIndices,
5959
new PointInTimeBuilder(new BytesArray("pitid")),
6060
null,
61-
null
61+
false
6262
);
6363

6464
// No wildcards, no per-field boosting
@@ -556,7 +556,7 @@ public void testSearchRemoteIndex() {
556556
resolvedIndices,
557557
new PointInTimeBuilder(new BytesArray("pitid")),
558558
null,
559-
null
559+
false
560560
);
561561

562562
LinearRetrieverBuilder retriever = new LinearRetrieverBuilder(

x-pack/plugin/rank-rrf/src/test/java/org/elasticsearch/xpack/rank/rrf/RRFRetrieverBuilderTests.java

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,9 @@ public void testRetrieverExtractionErrors() throws IOException {
6969
null,
7070
null,
7171
null,
72-
null,
73-
null,
7472
new PointInTimeBuilder(new BytesArray("pitid")),
7573
null,
76-
null
74+
false
7775
)
7876
)
7977
);
@@ -97,11 +95,9 @@ public void testRetrieverExtractionErrors() throws IOException {
9795
null,
9896
null,
9997
null,
100-
null,
101-
null,
10298
new PointInTimeBuilder(new BytesArray("pitid")),
10399
null,
104-
null
100+
false
105101
)
106102
)
107103
);
@@ -177,7 +173,7 @@ public void testMultiFieldsParamsRewrite() {
177173
resolvedIndices,
178174
new PointInTimeBuilder(new BytesArray("pitid")),
179175
null,
180-
null
176+
false
181177
);
182178

183179
// No wildcards, no per-field boosting
@@ -225,7 +221,8 @@ public void testMultiFieldsParamsRewriteWithWeights() {
225221
null,
226222
resolvedIndices,
227223
new PointInTimeBuilder(new BytesArray("pitid")),
228-
null
224+
null,
225+
false
229226
);
230227

231228
// Simple per-field boosting
@@ -324,7 +321,8 @@ public void testNegativeWeightValidation() {
324321
null,
325322
resolvedIndices,
326323
new PointInTimeBuilder(new BytesArray("pitid")),
327-
null
324+
null,
325+
false
328326
);
329327

330328
// Test negative weight validation
@@ -359,7 +357,7 @@ public void testSearchRemoteIndex() {
359357
resolvedIndices,
360358
new PointInTimeBuilder(new BytesArray("pitid")),
361359
null,
362-
null
360+
false
363361
);
364362

365363
RRFRetrieverBuilder rrfRetrieverBuilder = new RRFRetrieverBuilder(
@@ -389,7 +387,8 @@ public void testPerFieldWeightsBasic() {
389387
null,
390388
resolvedIndices,
391389
new PointInTimeBuilder(new BytesArray("pitid")),
392-
null
390+
null,
391+
false
393392
);
394393

395394
// Test with per-field weights in the simplified format
@@ -417,7 +416,8 @@ public void testLexicalFieldWeightPropagation() {
417416
null,
418417
resolvedIndices,
419418
new PointInTimeBuilder(new BytesArray("pitid")),
420-
null
419+
null,
420+
false
421421
);
422422

423423
RRFRetrieverBuilder rrfRetrieverBuilder = new RRFRetrieverBuilder(
@@ -462,7 +462,8 @@ public void testInferenceFieldWeights() {
462462
null,
463463
resolvedIndices,
464464
new PointInTimeBuilder(new BytesArray("pitid")),
465-
null
465+
null,
466+
false
466467
);
467468

468469
RRFRetrieverBuilder rrfRetrieverBuilder = new RRFRetrieverBuilder(
@@ -502,7 +503,8 @@ public void testNegativeWeightsRejected() {
502503
null,
503504
resolvedIndices,
504505
new PointInTimeBuilder(new BytesArray("pitid")),
505-
null
506+
null,
507+
false
506508
);
507509

508510
RRFRetrieverBuilder rrfRetrieverBuilder = new RRFRetrieverBuilder(
@@ -530,7 +532,8 @@ public void testZeroWeightsAccepted() {
530532
null,
531533
resolvedIndices,
532534
new PointInTimeBuilder(new BytesArray("pitid")),
533-
null
535+
null,
536+
false
534537
);
535538

536539
RRFRetrieverBuilder rrfRetrieverBuilder = new RRFRetrieverBuilder(
@@ -557,7 +560,8 @@ public void testLargeWeightValues() {
557560
null,
558561
resolvedIndices,
559562
new PointInTimeBuilder(new BytesArray("pitid")),
560-
null
563+
null,
564+
false
561565
);
562566

563567
// Test very large weight values
@@ -585,7 +589,8 @@ public void testMixedWeightedAndUnweightedFields() {
585589
null,
586590
resolvedIndices,
587591
new PointInTimeBuilder(new BytesArray("pitid")),
588-
null
592+
null,
593+
false
589594
);
590595

591596
// Test mixing weighted and unweighted fields in simplified syntax
@@ -613,7 +618,8 @@ public void testDecimalWeightPrecision() {
613618
null,
614619
resolvedIndices,
615620
new PointInTimeBuilder(new BytesArray("pitid")),
616-
null
621+
null,
622+
false
617623
);
618624

619625
// Test various decimal weight precisions
@@ -641,7 +647,8 @@ public void testSimplifiedSyntaxWithGlobPatterns() {
641647
null,
642648
resolvedIndices,
643649
new PointInTimeBuilder(new BytesArray("pitid")),
644-
null
650+
null,
651+
false
645652
);
646653

647654
// Test glob patterns with weights in simplified syntax
@@ -669,7 +676,8 @@ public void testExtremelyLargeWeights() {
669676
null,
670677
resolvedIndices,
671678
new PointInTimeBuilder(new BytesArray("pitid")),
672-
null
679+
null,
680+
false
673681
);
674682

675683
// Test potential overflow scenarios with very large float values

0 commit comments

Comments
 (0)