Commit d066743
authored
Fix MissingValues for Lucene 10 (opensearch-project#17647)
With the Lucene 10 upgrade, we should not rely on doc values returning
NO_MORE_DOCS once they've run out of ords. Instead, we should return a
correct value for docValueCount().
Signed-off-by: Michael Froh <froh@amazon.com>1 parent e50baef commit d066743
File tree
2 files changed
+7
-5
lines changed- server/src
- main/java/org/opensearch/search/aggregations/support
- test/java/org/opensearch/search/aggregations/support
2 files changed
+7
-5
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
362 | | - | |
| 363 | + | |
| 364 | + | |
363 | 365 | | |
364 | 366 | | |
365 | 367 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | | - | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments