quickwit-oss/quickwit

aggs field expects an aggs object in the Swagger API screen

Open

#3,131 opened on Apr 3, 2023

 (1 comment) (0 reactions) (0 assignees)Rust (580 forks)github user discovery
buggood first issue

Repository metrics

Stars
 (11,532 stars)
PR merge metrics
 (Avg merge 5d 18h) (41 merged PRs in 30d)

Description

The aggs field expect the following

{
 "aggs": {
    "resolution": {
       "terms": {"field": "ResolutionWidth"}
     }
 } 
}

While the swagger document suggests it want

{
   "resolution": {
       "terms": {"field": "ResolutionWidth"}
     }
}

Contributor guide