You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/rank/textsimilarity/ChunkScorerConfig.java
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/rank/textsimilarity/TextSimilarityRankBuilder.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ public RankFeaturePhaseRankCoordinatorContext buildRankFeaturePhaseCoordinatorCo
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/rank/textsimilarity/TextSimilarityRankRetrieverBuilder.java
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public class TextSimilarityRankRetrieverBuilder extends CompoundRetrieverBuilder
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/rank/textsimilarity/TextSimilarityRerankingRankFeaturePhaseRankShardContext.java
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/70_text_similarity_rank_retriever.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -522,7 +522,7 @@ setup:
522
522
reason: rescore_chunks introduced in 9.2.0
523
523
524
524
- do:
525
-
catch: /num_chunks must be greater than 0/
525
+
catch: /size must be greater than 0/
526
526
search:
527
527
index: test-index
528
528
body:
@@ -539,7 +539,7 @@ setup:
539
539
inference_text: "How often does the moon hide the sun?"
540
540
field: inference_text_field
541
541
chunk_rescorer:
542
-
num_chunks: 0
542
+
size: 0
543
543
size: 10
544
544
545
545
- match: { status: 400 }
@@ -570,7 +570,7 @@ setup:
570
570
inference_text: "How often does the moon hide the sun?"
571
571
field: text
572
572
chunk_rescorer:
573
-
num_chunks: 2
573
+
size: 2
574
574
size: 10
575
575
576
576
- match: { hits.total.value: 2 }
@@ -638,7 +638,7 @@ setup:
638
638
inference_text: "how often does the moon hide the sun?"
0 commit comments