add work monitoring scheme
This commit is contained in:
@@ -92,6 +92,7 @@ public class SearchImageService {
|
|||||||
if (matches.isArray()) {
|
if (matches.isArray()) {
|
||||||
for (JsonNode match : matches) {
|
for (JsonNode match : matches) {
|
||||||
SearchResponse.ImageResult result = mapImageResult(match);
|
SearchResponse.ImageResult result = mapImageResult(match);
|
||||||
|
result.setFileId(fileId);
|
||||||
|
|
||||||
if ("exact_matches".equals(findType)) {
|
if ("exact_matches".equals(findType)) {
|
||||||
JsonNode thumbnail = match.path("thumbnail");
|
JsonNode thumbnail = match.path("thumbnail");
|
||||||
|
|||||||
Reference in New Issue
Block a user