From 4ff4eb27f11cbf8676b9c9a8778296b2d5abd2d0 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 10 Jun 2014 19:31:22 -0400 Subject: [PATCH] br-search JSON fixes --- app/br-search/br-search.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/br-search/br-search.cpp b/app/br-search/br-search.cpp index 5ea88b8..e3a47b6 100644 --- a/app/br-search/br-search.cpp +++ b/app/br-search/br-search.cpp @@ -90,10 +90,10 @@ struct SearchResults { sort_heap(topTargets.begin(), topTargets.end()); - cout << "{ \"AlgorithmID\":\"" << query->algorithmID; - cout << "\", \"QueryImageID\":\""; + cout << "{ \"AlgorithmID\":" << query->algorithmID; + cout << ", \"ImageID\":\""; writeMD5asHex(query->imageID); - cout << "\", \"QueryTemplateID\":\""; + cout << "\", \"TemplateID\":\""; writeMD5asHex(query->templateID); cout << "\""; printMetadata(query); -- libgit2 0.21.4