Commit 56037c2
authored
Fix double array for
This fixes two bugs:
* toXContent was writing two arrays instead of one array for sub_searches as part of
SearchSourceBuilder
* Removes sub_searches from ShardSearchRequestTests.setForceSyntheticSource
Closes #96896
Closes #96910sub_searches in toXContent (#96963)1 parent 3d11f42 commit 56037c2
File tree
3 files changed
+5
-3
lines changed- server/src
- main/java/org/elasticsearch/search/builder
- test/java/org/elasticsearch
- action/get
- search/internal
3 files changed
+5
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1616 | 1616 | | |
1617 | 1617 | | |
1618 | 1618 | | |
1619 | | - | |
| 1619 | + | |
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | | - | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
0 commit comments