Skip to content

Commit f503e74

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 2ac85c1 commit f503e74

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3633,15 +3633,12 @@ public void testResolveRerankFields() {
36333633

36343634
{
36353635
// Multiple fields.
3636-
LogicalPlan plan = analyze(
3637-
"""
3638-
FROM books METADATA _score
3639-
| WHERE title:"food"
3640-
| RERANK "food" ON title, description=SUBSTRING(description, 0, 100), yearRenamed=year
3641-
WITH inferenceId=`reranking-inference-id`
3642-
""",
3643-
"mapping-books.json"
3644-
);
3636+
LogicalPlan plan = analyze("""
3637+
FROM books METADATA _score
3638+
| WHERE title:"food"
3639+
| RERANK "food" ON title, description=SUBSTRING(description, 0, 100), yearRenamed=year
3640+
WITH inferenceId=`reranking-inference-id`
3641+
""", "mapping-books.json");
36453642

36463643
Limit limit = as(plan, Limit.class); // Implicit limit added by AddImplicitLimit rule.
36473644
Rerank rerank = as(limit.child(), Rerank.class);

0 commit comments

Comments
 (0)