Commit b8cf6de
committed
Fix flaky ExistsQueryBuilderTests.testToQuery
Test was generating field patterns that matched raw.derived_keyword,
which doesnt support exists queries. Fixed by replacing problematic
patterns with TEXT_FIELD_NAME.
Fixes #18724
Signed-off-by: Atri Sharma <atri.jiit@gmail.com>1 parent d18d06f commit b8cf6de
File tree
1 file changed
+7
-3
lines changed- server/src/test/java/org/opensearch/index/query
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
0 commit comments