Skip to content

Commit ff17737

Browse files
authored
Fix query
1 parent 52bcf93 commit ff17737

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

kibana/tdc-connections-2021/README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -513,25 +513,23 @@ GET /busca-artigos-livros/_search
513513
{
514514
"query": {
515515
"bool": {
516-
"must": [
517-
{
518-
"query_string": {
519-
"query": "Algoritmos -Recuperação",
520-
"fields": [
521-
"todos"
522-
]
523-
}
524-
},
525-
{
526-
"range": {
516+
"filter": {
517+
"range": {
527518
"avaliacao": {
528-
"gte": 6,
519+
"gte": 8,
529520
"lte": 10
530521
}
531522
}
532-
]
523+
},
524+
"must": {
525+
"query_string": {
526+
"query": "Algoritmos -Recuperação",
527+
"fields": [
528+
"todos"
529+
]
530+
}
531+
}
533532
}
534533
}
535534
}
536-
537-
```
535+
```

0 commit comments

Comments
 (0)