Skip to content

Commit ffb2a6a

Browse files
committed
RRFBuilder checkstyle issue
1 parent 840378d commit ffb2a6a

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ public void testRetrieverExtractionErrors() throws IOException {
6868
parserConfig(),
6969
null,
7070
null,
71+
TransportVersion.current(),
72+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
7173
null,
7274
new PointInTimeBuilder(new BytesArray("pitid")),
7375
null,
76+
null,
7477
false
7578
)
7679
)
@@ -94,9 +97,12 @@ public void testRetrieverExtractionErrors() throws IOException {
9497
parserConfig(),
9598
null,
9699
null,
100+
TransportVersion.current(),
101+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
97102
null,
98103
new PointInTimeBuilder(new BytesArray("pitid")),
99104
null,
105+
null,
100106
false
101107
)
102108
)
@@ -219,9 +225,12 @@ public void testMultiFieldsParamsRewriteWithWeights() {
219225
parserConfig(),
220226
null,
221227
null,
228+
TransportVersion.current(),
229+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
222230
resolvedIndices,
223231
new PointInTimeBuilder(new BytesArray("pitid")),
224232
null,
233+
null,
225234
false
226235
);
227236

@@ -319,9 +328,12 @@ public void testNegativeWeightValidation() {
319328
parserConfig(),
320329
null,
321330
null,
331+
TransportVersion.current(),
332+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
322333
resolvedIndices,
323334
new PointInTimeBuilder(new BytesArray("pitid")),
324335
null,
336+
null,
325337
false
326338
);
327339

@@ -385,9 +397,12 @@ public void testPerFieldWeightsBasic() {
385397
parserConfig(),
386398
null,
387399
null,
400+
TransportVersion.current(),
401+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
388402
resolvedIndices,
389403
new PointInTimeBuilder(new BytesArray("pitid")),
390404
null,
405+
null,
391406
false
392407
);
393408

@@ -414,9 +429,12 @@ public void testLexicalFieldWeightPropagation() {
414429
parserConfig(),
415430
null,
416431
null,
432+
TransportVersion.current(),
433+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
417434
resolvedIndices,
418435
new PointInTimeBuilder(new BytesArray("pitid")),
419436
null,
437+
null,
420438
false
421439
);
422440

@@ -460,9 +478,12 @@ public void testInferenceFieldWeights() {
460478
parserConfig(),
461479
null,
462480
null,
481+
TransportVersion.current(),
482+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
463483
resolvedIndices,
464484
new PointInTimeBuilder(new BytesArray("pitid")),
465485
null,
486+
null,
466487
false
467488
);
468489

@@ -501,9 +522,12 @@ public void testNegativeWeightsRejected() {
501522
parserConfig(),
502523
null,
503524
null,
525+
TransportVersion.current(),
526+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
504527
resolvedIndices,
505528
new PointInTimeBuilder(new BytesArray("pitid")),
506529
null,
530+
null,
507531
false
508532
);
509533

@@ -530,9 +554,12 @@ public void testZeroWeightsAccepted() {
530554
parserConfig(),
531555
null,
532556
null,
557+
TransportVersion.current(),
558+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
533559
resolvedIndices,
534560
new PointInTimeBuilder(new BytesArray("pitid")),
535561
null,
562+
null,
536563
false
537564
);
538565

@@ -558,9 +585,12 @@ public void testLargeWeightValues() {
558585
parserConfig(),
559586
null,
560587
null,
588+
TransportVersion.current(),
589+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
561590
resolvedIndices,
562591
new PointInTimeBuilder(new BytesArray("pitid")),
563592
null,
593+
null,
564594
false
565595
);
566596

@@ -587,9 +617,12 @@ public void testMixedWeightedAndUnweightedFields() {
587617
parserConfig(),
588618
null,
589619
null,
620+
TransportVersion.current(),
621+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
590622
resolvedIndices,
591623
new PointInTimeBuilder(new BytesArray("pitid")),
592624
null,
625+
null,
593626
false
594627
);
595628

@@ -616,9 +649,12 @@ public void testDecimalWeightPrecision() {
616649
parserConfig(),
617650
null,
618651
null,
652+
TransportVersion.current(),
653+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
619654
resolvedIndices,
620655
new PointInTimeBuilder(new BytesArray("pitid")),
621656
null,
657+
null,
622658
false
623659
);
624660

@@ -645,9 +681,12 @@ public void testSimplifiedSyntaxWithGlobPatterns() {
645681
parserConfig(),
646682
null,
647683
null,
684+
TransportVersion.current(),
685+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
648686
resolvedIndices,
649687
new PointInTimeBuilder(new BytesArray("pitid")),
650688
null,
689+
null,
651690
false
652691
);
653692

@@ -674,9 +713,12 @@ public void testExtremelyLargeWeights() {
674713
parserConfig(),
675714
null,
676715
null,
716+
TransportVersion.current(),
717+
RemoteClusterAware.LOCAL_CLUSTER_GROUP_KEY,
677718
resolvedIndices,
678719
new PointInTimeBuilder(new BytesArray("pitid")),
679720
null,
721+
null,
680722
false
681723
);
682724

0 commit comments

Comments
 (0)