                            ok)))
                 (GET "/topn" []
                      :return MetricResult
-                     :summary (format "Topn for a %s field" capitalized)
+                     :summary (format "Topn for some %s field" capitalized)
                      :query [params topn-q-params]
                      (let [aggregate-on (:aggregate-on params)
                            search-q (search-query date-field

                :identity-map identity-map
                (GET "/histogram" []
                     :return MetricResult
                     :summary (format "Histogram for a %s field" capitalized)
                     :query [params histogram-q-params]
                     (let [aggregate-on (keyword (:aggregate-on params))
                           search-q (search-query aggregate-on

                           ok)))
                (GET "/cardinality" []
                     :return MetricResult
                     :summary (format "Cardinality for some %s field" capitalized)
                     :query [params cardinality-q-params]
                     (let [aggregate-on (:aggregate-on params)
                           search-q (search-query date-field
