                                                                     query))
         total-took (+ query-creation-time find-concepts-time)]
     (info (format "Found %d %ss in %d ms from client %s in format %s with JSON Query %s and query params %s."
-                  (get-in results [:hits :value]) (name concept-type) total-took (:client-id context)
+                  (:hits results) (name concept-type) total-took (:client-id context)
                   (rfh/printable-result-format (:result-format query)) json-query (pr-str params)))
     (assoc results :took total-took)))
 

                                                                    query))
        total-took (+ query-creation-time find-concepts-time)]
    (info (format "Found %d %ss in %d ms from client %s in format %s with aql: %s."
                  (get-in results [:hits :value]) (name concept-type) total-took (:client-id context)
                  (rfh/printable-result-format (:result-format query)) aql))
    (assoc results :took total-took)))


                                         context concept-type query))
        total-took (+ query-creation-time find-concepts-time)]
    (info (format "Found %d %ss in %d ms from client %s in format %s with params %s."
                  (:hits results) (name concept-type) total-took (:client-id context)
                  (rfh/printable-result-format (:result-format query)) (pr-str params)))
    (assoc results :took total-took)))

