Skip to content

Commit 899a080

Browse files
committed
to fix elastic SQL criteria specifications
1 parent 65f9104 commit 899a080

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

sql/bridge/src/test/scala/app/softnetwork/elastic/sql/SQLCriteriaSpec.scala

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -475,23 +475,10 @@ class SQLCriteriaSpec extends AnyFlatSpec with Matchers {
475475
| "nested": {
476476
| "path": "nested",
477477
| "query": {
478-
| "bool": {
479-
| "should": [
480-
| {
481-
| "range": {
482-
| "nested.identifier2": {
483-
| "gt": 2
484-
| }
485-
| }
486-
| },
487-
| {
488-
| "term": {
489-
| "nested.identifier3": {
490-
| "value": 3
491-
| }
492-
| }
493-
| }
494-
| ]
478+
| "term": {
479+
| "nested.identifier3": {
480+
| "value": 3
481+
| }
495482
| }
496483
| },
497484
| "inner_hits": {

0 commit comments

Comments
 (0)