Commit 4ff4eb27f11cbf8676b9c9a8778296b2d5abd2d0

Authored by Josh Klontz
1 parent e20f7ec7

br-search JSON fixes

Showing 1 changed file with 3 additions and 3 deletions
app/br-search/br-search.cpp
@@ -90,10 +90,10 @@ struct SearchResults @@ -90,10 +90,10 @@ struct SearchResults
90 { 90 {
91 sort_heap(topTargets.begin(), topTargets.end()); 91 sort_heap(topTargets.begin(), topTargets.end());
92 92
93 - cout << "{ \"AlgorithmID\":\"" << query->algorithmID;  
94 - cout << "\", \"QueryImageID\":\""; 93 + cout << "{ \"AlgorithmID\":" << query->algorithmID;
  94 + cout << ", \"ImageID\":\"";
95 writeMD5asHex(query->imageID); 95 writeMD5asHex(query->imageID);
96 - cout << "\", \"QueryTemplateID\":\""; 96 + cout << "\", \"TemplateID\":\"";
97 writeMD5asHex(query->templateID); 97 writeMD5asHex(query->templateID);
98 cout << "\""; 98 cout << "\"";
99 printMetadata(query); 99 printMetadata(query);