quickwit-oss/quickwit

aggs field expects an aggs object in the Swagger API screen

Open

#3,131 opened on Apr 3, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (553 forks)github user discovery
buggood first issue

Repository metrics

Stars
 (11,300 stars)
PR merge metrics
 (PR metrics pending)

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